METHOD_0 ( ) { com . IDENT_0 . auth . IDENT_1 IDENT_2 = mock ( com . IDENT_0 . auth . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( null ) ; com . IDENT_0 . IDENT_3 . IDENT_4 IDENT_3 = mock ( com . IDENT_0 . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( IDENT_2 ) ; com . IDENT_0 . IDENT_5 client = new com . IDENT_0 . METHOD_3 ( IDENT_3 ) ; com . IDENT_0 . METHOD_3 IDENT_6 = org . mockito . Mockito . METHOD_4 ( client ) ; com . IDENT_0 . IDENT_7 response = mock ( com . IDENT_0 . IDENT_7 . class ) ; com . IDENT_0 . IDENT_8 IDENT_9 = mock ( com . IDENT_0 . IDENT_8 . class ) ; com . IDENT_0 . IDENT_10 request = mock ( com . IDENT_0 . IDENT_10 . class ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( request ) ; org . mockito . Mockito . doReturn ( response ) . when ( IDENT_6 ) . METHOD_6 ( request ) ; when ( response . METHOD_7 ( ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( com . IDENT_0 . IDENT_8 ) { com . IDENT_0 . IDENT_7 IDENT_11 = this . METHOD_6 ( request . METHOD_5 ( ) ) ; if ( IDENT_11 . METHOD_7 ( ) ) { java . lang . String IDENT_12 = IDENT_11 . METHOD_9 ( ) ; com . IDENT_0 . IDENT_13 response = new com . IDENT_0 . METHOD_10 ( ) ; response . METHOD_11 ( IDENT_12 ) ; response . METHOD_12 ( IDENT_11 . getStatus ( ) ) ; response . METHOD_13 ( IDENT_11 ) ; return response ; } else { com . IDENT_0 . IDENT_14 format = IDENT_11 . METHOD_14 ( ) ; com . IDENT_0 . IDENT_15 error = METHOD_15 ( IDENT_11 , format ) ; if ( INT_0 <= ( IDENT_11 . getStatus ( ) ) ) { throw new com . IDENT_0 . exceptions . METHOD_16 ( error . METHOD_17 ( ) , error . METHOD_18 ( ) , error . METHOD_19 ( ) ) ; } else { throw new com . IDENT_0 . exceptions . METHOD_20 ( error . METHOD_17 ( ) , error . METHOD_18 ( ) , error . METHOD_19 ( ) ) ; } } }
org . junit . Assert . assertTrue ( ( ( IDENT_6 . METHOD_8 ( IDENT_9 ) ) instanceof com . IDENT_0 . METHOD_10 ) )