METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; context . init ( IDENT_1 , IDENT_0 , IDENT_2 ) ; when ( IDENT_3 . METHOD_2 ( STRING_0 ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . invoke ( context , IDENT_5 . servlet . IDENT_6 . IDENT_7 . class ) ) . thenReturn ( new IDENT_5 . servlet . IDENT_6 . METHOD_3 ( ) ) ; java . lang . Object o = context . METHOD_4 ( IDENT_5 . servlet . IDENT_6 . METHOD_3 . class ) ; verify ( IDENT_3 ) . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { com . google . IDENT_8 . IDENT_9 < ? extends IDENT_5 . IDENT_10 . IDENT_11 > provider = IDENT_12 . get ( IDENT_13 ) ; if ( provider != null ) { return provider . get ( ) ; } else { return null ; } }
org . junit . Assert . assertTrue ( ( o instanceof IDENT_5 . servlet . IDENT_6 . METHOD_3 ) )