METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . support . IDENT_2 conn = METHOD_1 ( com . IDENT_0 . IDENT_1 . support . IDENT_2 . class ) ; boolean IDENT_3 = true ; expect ( conn . METHOD_2 ( ) ) . andReturn ( IDENT_3 ) ; conn . close ( ) ; com . IDENT_0 . IDENT_1 . support . IDENT_4 proxy = new com . IDENT_0 . IDENT_1 . support . METHOD_3 ( conn ) ; replay ( conn ) ; "<AssertPlaceHolder>" ; proxy . close ( ) ; verify ( conn ) ; } METHOD_2 ( ) { if ( ( proxy ) == null ) { return true ; } else { return proxy . METHOD_2 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 , proxy . METHOD_2 ( ) )