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