METHOD_0 ( ) { com . streamsets . lib . security . http . IDENT_0 service = org . mockito . Mockito . mock ( com . streamsets . lib . security . http . IDENT_0 . class ) ; com . streamsets . lib . security . http . IDENT_1 servlet = new com . streamsets . lib . security . http . METHOD_1 ( service ) { @ com . streamsets . lib . security . http . Override MOD_0 void METHOD_2 ( javax . servlet . http . IDENT_2 req , javax . servlet . http . IDENT_3 res ) throws java . io . IOException , javax . servlet . IDENT_4 { res . METHOD_3 ( IDENT_3 . IDENT_5 ) ; } } ; "<AssertPlaceHolder>" ; servlet = org . mockito . Mockito . METHOD_4 ( servlet ) ; javax . servlet . http . IDENT_2 req = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_2 . class ) ; org . mockito . Mockito . when ( req . METHOD_5 ( ) ) . thenReturn ( STRING_0 ) ; javax . servlet . http . IDENT_3 res = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_3 . class ) ; org . mockito . Mockito . when ( service . METHOD_6 ( ) ) . thenReturn ( false ) ; servlet . service ( req , res ) ; org . mockito . Mockito . verify ( res , org . mockito . Mockito . times ( 1 ) ) . METHOD_7 ( org . mockito . Mockito . eq ( IDENT_3 . IDENT_6 ) ) ; org . mockito . Mockito . METHOD_8 ( res ) ; org . mockito . Mockito . when ( service . METHOD_6 ( ) ) . thenReturn ( true ) ; servlet . service ( req , res ) ; org . mockito . Mockito . verify ( res , org . mockito . Mockito . times ( 1 ) ) . METHOD_3 ( org . mockito . Mockito . eq ( IDENT_3 . IDENT_5 ) ) ; } METHOD_9 ( ) { return com . streamsets . lib . security . http . METHOD_1 . IDENT_7 ; }
org . junit . Assert . assertEquals ( METHOD_1 . IDENT_7 , servlet . METHOD_9 ( ) )