METHOD_0 ( ) { javax . servlet . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( javax . servlet . IDENT_0 . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( IDENT_2 . IDENT_3 ) ) . thenReturn ( IDENT_4 ) ; javax . servlet . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( javax . servlet . IDENT_5 . class ) ; org . mockito . Mockito . when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . IDENT_2 servlet = new org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . METHOD_3 ( ) ; servlet . init ( IDENT_6 ) ; org . eclipse . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = servlet . METHOD_4 ( null , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( javax . servlet . http . IDENT_14 , java . lang . String ) { if ( org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . METHOD_3 . IDENT_15 . equals ( protocol ) ) { org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . IDENT_16 IDENT_17 = new org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . METHOD_5 ( IDENT_4 ) ; return IDENT_17 ; } else { org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . METHOD_3 . LOG . warn ( STRING_1 ) ; return null ; } }
org . junit . Assert . assertTrue ( ( IDENT_13 instanceof org . apache . IDENT_7 . IDENT_8 . extension . IDENT_9 . METHOD_5 ) )