METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . auth . server . IDENT_2 handler = new com . IDENT_0 . IDENT_1 . auth . server . METHOD_1 ( ) ; try { java . util . Properties props = new java . util . Properties ( ) ; props . setProperty ( METHOD_1 . IDENT_3 , STRING_0 ) ; handler . init ( props ) ; javax . servlet . http . IDENT_4 request = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_4 . class ) ; javax . servlet . http . IDENT_5 response = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_5 . class ) ; org . mockito . Mockito . when ( request . METHOD_2 ( ) ) . thenReturn ( "" ) ; com . IDENT_0 . IDENT_1 . auth . server . IDENT_6 token = handler . METHOD_3 ( request , response ) ; "<AssertPlaceHolder>" ; } finally { handler . METHOD_4 ( ) ; } } METHOD_3 ( java . net . URL , com . IDENT_0 . IDENT_1 . auth . client . IDENT_7 ) { if ( ! ( token . METHOD_5 ( ) ) ) { this . url = url ; conn = ( ( java . net . IDENT_8 ) ( url . METHOD_6 ( ) ) ) ; if ( ( IDENT_9 ) != null ) { conn = IDENT_9 . METHOD_7 ( conn ) ; } conn . METHOD_8 ( com . IDENT_0 . IDENT_1 . auth . client . IDENT_10 . IDENT_11 ) ; conn . connect ( ) ; boolean IDENT_12 = false ; if ( ( conn . METHOD_9 ( ) ) == ( java . net . IDENT_8 . IDENT_13 ) ) { com . IDENT_0 . IDENT_1 . auth . client . IDENT_10 . LOG . debug ( STRING_1 ) ; com . IDENT_0 . IDENT_1 . auth . client . IDENT_14 . METHOD_10 ( conn , token ) ; if ( METHOD_11 ( token ) ) { return ; } IDENT_12 = true ; } if ( ( ! IDENT_12 ) && ( METHOD_12 ( ) ) ) { com . IDENT_0 . IDENT_1 . auth . client . IDENT_10 . LOG . debug ( STRING_2 ) ; METHOD_13 ( token ) ; } else { com . IDENT_0 . IDENT_1 . auth . client . IDENT_10 . LOG . debug ( STRING_3 ) ; com . IDENT_0 . IDENT_1 . auth . client . IDENT_15 auth = METHOD_14 ( ) ; auth . METHOD_15 ( IDENT_9 ) ; auth . METHOD_3 ( url , token ) ; } } }
org . junit . Assert . assertNull ( token )