METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( eq ( STRING_0 ) ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . get ( ) ) . thenReturn ( file ) ; when ( IDENT_0 . METHOD_2 ( eq ( file ) ) ) . thenReturn ( new java . io . ByteArrayInputStream ( new byte [ 0 ] ) ) ; java . io . InputStream IDENT_2 = null ; try { IDENT_2 = client . get ( STRING_0 ) ; "<AssertPlaceHolder>" ; } finally { try { IDENT_2 . close ( ) ; } catch ( java . lang . Exception e ) { } } } get ( java . lang . String ) { METHOD_3 ( name ) ; com . IDENT_3 . IDENT_4 . response . IDENT_5 IDENT_1 = client . METHOD_1 ( name ) ; if ( IDENT_1 == null ) { return null ; } com . IDENT_3 . IDENT_4 . entity . File file = IDENT_1 . get ( ) ; return client . METHOD_2 ( file ) ; }
org . junit . Assert . assertNotNull ( IDENT_2 )