METHOD_0 ( ) { com . streamsets . lib . security . http . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( com . streamsets . lib . security . http . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; com . streamsets . lib . security . http . IDENT_2 IDENT_3 = new com . streamsets . lib . security . http . METHOD_2 ( IDENT_1 , conf ) ; javax . servlet . http . IDENT_4 res = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_4 . class ) ; org . eclipse . IDENT_5 . server . IDENT_6 auth = IDENT_3 . METHOD_3 ( res ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( res ) . METHOD_4 ( org . mockito . Mockito . eq ( IDENT_1 . METHOD_1 ( ) ) ) ; } METHOD_3 ( javax . servlet . http . IDENT_4 ) { java . lang . String IDENT_7 = METHOD_5 ( ) . METHOD_1 ( ) ; try { com . streamsets . lib . security . http . METHOD_2 . LOG . debug ( STRING_1 , IDENT_7 ) ; IDENT_8 . METHOD_4 ( IDENT_7 ) ; return org . eclipse . IDENT_5 . server . IDENT_6 . IDENT_9 ; } catch ( java . io . IOException ex ) { throw new org . eclipse . IDENT_5 . security . METHOD_6 ( com . streamsets . pipeline . api . impl . Utils . format ( STRING_2 , IDENT_7 , ex . toString ( ) , ex ) ) ; } }
org . junit . Assert . assertEquals ( IDENT_6 . IDENT_9 , auth )