METHOD_0 ( ) { java . sql . IDENT_0 IDENT_1 = METHOD_1 ( java . sql . IDENT_0 . class ) ; java . sql . ResultSet IDENT_2 = METHOD_1 ( java . sql . ResultSet . class ) ; java . sql . IDENT_3 IDENT_4 = METHOD_1 ( java . sql . IDENT_3 . class ) ; java . io . InputStream is = new java . io . ByteArrayInputStream ( new byte [ ] { } ) ; expect ( IDENT_4 . METHOD_2 ( ) ) . andReturn ( is ) ; expect ( IDENT_2 . METHOD_3 ( ) ) . andReturn ( null ) ; expect ( IDENT_2 . METHOD_4 ( 1 ) ) . andReturn ( IDENT_4 ) ; IDENT_2 . close ( ) ; replay ( IDENT_1 , IDENT_4 , IDENT_2 ) ; com . IDENT_5 . IDENT_6 . jdbc . IDENT_7 results = new com . IDENT_5 . IDENT_6 . jdbc . METHOD_5 ( IDENT_1 , IDENT_2 , null , false ) ; "<AssertPlaceHolder>" ; results . close ( ) ; verify ( IDENT_1 , IDENT_4 , IDENT_2 ) ; } METHOD_6 ( int ) { java . sql . IDENT_3 IDENT_4 = IDENT_2 . METHOD_4 ( ( IDENT_8 + 1 ) ) ; if ( IDENT_4 == null ) { return null ; } else { return IDENT_4 . METHOD_2 ( ) ; } }
org . junit . Assert . assertTrue ( ( ( results . METHOD_6 ( 0 ) ) == is ) )