METHOD_0 ( ) { try { action = new de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . action . METHOD_1 ( IDENT_4 , IDENT_5 ) ; trace . METHOD_2 ( action ) ; java . io . StringWriter IDENT_6 = new java . io . StringWriter ( ) ; java . io . IDENT_7 IDENT_8 = new java . io . METHOD_3 ( IDENT_6 ) ; IDENT_8 . println ( STRING_0 ) ; IDENT_8 . println ( STRING_1 1 ) ; IDENT_8 . println ( STRING_2 ) ; IDENT_8 . println ( STRING_3 ) ; IDENT_8 . println ( STRING_4 ) ; IDENT_8 . println ( STRING_5 ) ; IDENT_8 . println ( STRING_1 0 ) ; IDENT_8 . println ( STRING_6 ) ; IDENT_8 . println ( STRING_7 ) ; IDENT_8 . println ( STRING_1 ) ; IDENT_8 . println ( STRING_8 ) ; IDENT_8 . println ( STRING_9 ) ; IDENT_8 . close ( ) ; java . lang . String expected = IDENT_6 . toString ( ) ; de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . filter . IDENT_9 filter = new de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . filter . METHOD_4 ( config ) ; filter . METHOD_5 ( trace ) ; filter . METHOD_6 ( trace , state . METHOD_7 ( ) ) ; java . lang . String actual = de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . IDENT_10 . write ( trace ) ; de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . action . IDENT_11 . LOGGER . info ( actual ) ; "<AssertPlaceHolder>" ; } catch ( javax . xml . IDENT_12 . IDENT_13 | java . io . IOException ex ) { de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . action . IDENT_11 . LOGGER . error ( ex . METHOD_8 ( ) , ex ) ; org . junit . Assert . fail ( ) ; } } write ( de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . IDENT_14 ) { java . io . ByteArrayOutputStream IDENT_15 = new java . io . ByteArrayOutputStream ( ) ; de . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_3 . IDENT_10 . write ( IDENT_15 , trace ) ; return new java . lang . String ( IDENT_15 . toByteArray ( ) , STRING_10 ) ; }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . equalTo ( expected ) )