METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . support . IDENT_2 conn = METHOD_1 ( com . IDENT_0 . IDENT_1 . support . IDENT_2 . class ) ; java . lang . String statement = STRING_0 ; long result = INT_0 ; expect ( conn . METHOD_2 ( statement ) ) . andReturn ( result ) ; conn . close ( ) ; com . IDENT_0 . IDENT_1 . support . IDENT_3 proxy = new com . IDENT_0 . IDENT_1 . support . METHOD_3 ( conn ) ; replay ( conn ) ; "<AssertPlaceHolder>" ; proxy . close ( ) ; verify ( conn ) ; } METHOD_2 ( java . lang . String ) { if ( ( proxy ) == null ) { return 0 ; } else { return proxy . METHOD_2 ( statement ) ; } }
org . junit . Assert . assertEquals ( result , proxy . METHOD_2 ( statement ) )