METHOD_0 ( ) { java . lang . String xml = STRING_0 ; org . w3c . dom . Document doc = com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( xml ) ; java . lang . String IDENT_3 = doc . METHOD_2 ( ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { javax . xml . IDENT_4 . IDENT_5 factory = javax . xml . IDENT_4 . IDENT_5 . newInstance ( ) ; try { javax . xml . IDENT_4 . IDENT_6 builder = factory . METHOD_4 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_5 ( ) ; builder . METHOD_6 ( IDENT_8 ) ; java . io . InputStream is = com . IDENT_0 . IDENT_1 . IDENT_9 . METHOD_7 ( xml ) ; org . w3c . dom . Document doc = builder . parse ( is ) ; if ( IDENT_8 . IDENT_10 ) { return com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . toString ( doc , false ) ) ; } else { return doc ; } } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } }
org . junit . Assert . assertEquals ( "foo" , IDENT_3 )