METHOD_0 ( ) { com . IDENT_0 . api . IDENT_1 . IDENT_2 listener = mock ( IDENT_1 . IDENT_2 . class ) ; final com . IDENT_0 . api . IDENT_3 IDENT_4 = new com . IDENT_0 . api . METHOD_1 ( STRING_0 , STRING_1 ) ; api . METHOD_2 ( listener ) ; when ( listener . METHOD_3 ( api . METHOD_4 ( ) ) ) . thenReturn ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { if ( ( IDENT_5 ) != null ) { com . IDENT_0 . api . METHOD_1 IDENT_6 = ( ( listener ) == null ) ? null : listener . METHOD_3 ( IDENT_5 ) ; IDENT_5 . METHOD_6 ( ) ; if ( IDENT_6 != null ) { IDENT_5 = IDENT_6 ; return IDENT_5 ; } else { return null ; } } else { return null ; } }
org . junit . Assert . assertThat ( api . METHOD_5 ( ) , org . hamcrest . CoreMatchers . equalTo ( IDENT_4 ) )