METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . doc . text . IDENT_2 . LOG . info ( STRING_0 ) ; org . w3c . dom . Node element = null ; org . IDENT_0 . IDENT_1 . IDENT_3 . doc . text . IDENT_4 instance = new org . IDENT_0 . IDENT_1 . IDENT_3 . doc . text . METHOD_1 ( ) ; int i ; java . lang . String expResult = "" ; java . lang . String result ; for ( i = 0 ; i < ( IDENT_5 . length ) ; i ++ ) { element = new org . IDENT_0 . IDENT_1 . IDENT_3 . doc . text . METHOD_2 ( dom ) ; METHOD_3 ( element , IDENT_6 [ i ] ) ; result = IDENT_5 [ i ] ; expResult = instance . getText ( element ) ; "<AssertPlaceHolder>" ; } } getText ( org . w3c . dom . Node ) { java . lang . String result = "" ; int IDENT_7 ; org . w3c . dom . Node node = element . METHOD_4 ( ) ; while ( node != null ) { if ( ( node . METHOD_5 ( ) ) == ( org . w3c . dom . Node . IDENT_8 ) ) { result += node . METHOD_6 ( ) ; } else if ( ( node . METHOD_5 ( ) ) == ( org . w3c . dom . Node . IDENT_9 ) ) { if ( node . METHOD_7 ( ) . equals ( STRING_1 ) ) { try { IDENT_7 = java . lang . Integer . METHOD_8 ( ( ( org . w3c . dom . Element ) ( node ) ) . METHOD_9 ( IDENT_10 . IDENT_11 . METHOD_10 ( ) , STRING_2 ) ) ; } catch ( java . lang . Exception e ) { IDENT_7 = 1 ; } for ( int i = 0 ; i < IDENT_7 ; i ++ ) { result += " " ; } } else if ( node . METHOD_7 ( ) . equals ( STRING_3 ) ) { result += "\n" ; } else if ( node . METHOD_7 ( ) . equals ( STRING_4 ) ) { result += STRING_5 ; } else { result = result + ( getText ( node ) ) ; } } node = node . METHOD_11 ( ) ; } return result ; }
org . junit . Assert . assertEquals ( expResult , result )