METHOD_0 ( ) { when ( base . METHOD_1 ( ) ) . thenReturn ( false ) . thenReturn ( true ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 IDENT_4 = factory . newInstance ( "name" , com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_5 . IDENT_6 , base ) ; boolean result = IDENT_4 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( base ) . METHOD_2 ( ) ; } METHOD_1 ( ) { return ( ( transport ) != null ) && ( transport . METHOD_1 ( ) ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( true ) )