METHOD_0 ( ) { when ( context . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_0 . get ( IDENT_1 . IDENT_2 ) ) . thenReturn ( null ) ; when ( result . METHOD_2 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; when ( context . METHOD_3 ( STRING_0 ) ) . thenReturn ( auth ( "test" , STRING_1 ) ) ; IDENT_5 . Result result = IDENT_6 . filter ( IDENT_7 , context ) ; "<AssertPlaceHolder>" ; METHOD_4 ( IDENT_7 ) ; } METHOD_2 ( ) { return template ; }
org . junit . Assert . assertEquals ( IDENT_3 . IDENT_4 , result . METHOD_2 ( ) )