METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; org . IDENT_1 . IDENT_2 . IDENT_3 . core . IDENT_4 IDENT_5 = mock ( org . IDENT_1 . IDENT_2 . IDENT_3 . core . IDENT_4 . class ) ; java . util . List < org . IDENT_1 . core . xml . IDENT_6 > IDENT_7 = new java . util . ArrayList ( ) ; org . IDENT_1 . core . xml . schema . impl . IDENT_8 IDENT_9 = mock ( org . IDENT_1 . core . xml . schema . impl . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; IDENT_7 . add ( IDENT_9 ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; java . lang . String result = helper . METHOD_3 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . IDENT_1 . IDENT_2 . IDENT_3 . core . IDENT_4 ) { java . lang . StringBuilder IDENT_10 = new java . lang . StringBuilder ( ) ; if ( IDENT_5 != null ) { java . util . List < org . IDENT_1 . core . xml . IDENT_6 > IDENT_7 = IDENT_5 . METHOD_2 ( ) ; for ( java . lang . Object o : IDENT_7 ) { if ( o instanceof org . w3c . dom . Element ) { org . w3c . dom . Element IDENT_11 = ( ( org . w3c . dom . Element ) ( o ) ) ; IDENT_10 . append ( IDENT_11 . METHOD_1 ( ) ) ; break ; } else if ( o instanceof java . lang . String ) { IDENT_10 . append ( o ) . append ( " " ) ; } else if ( o instanceof org . IDENT_1 . core . xml . schema . impl . IDENT_12 ) { IDENT_10 . append ( ( ( org . IDENT_1 . core . xml . schema . impl . IDENT_12 ) ( o ) ) . getValue ( ) ) ; } else if ( o instanceof org . IDENT_1 . core . xml . schema . impl . IDENT_8 ) { IDENT_10 . append ( ( ( org . IDENT_1 . core . xml . schema . impl . IDENT_8 ) ( o ) ) . METHOD_1 ( ) ) ; } } } return IDENT_10 . toString ( ) . trim ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , result )