METHOD_0 ( ) { java . util . List < java . lang . String > list = new java . util . ArrayList < java . lang . String > ( ) ; list . add ( STRING_0 ) ; list . add ( STRING_1 ) ; list . add ( STRING_2 ) ; java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; javax . xml . stream . IDENT_1 writer = METHOD_1 ( list , IDENT_0 ) ; METHOD_2 ( writer ) ; byte [ ] actual = IDENT_0 . toByteArray ( ) ; byte [ ] expected = org . apache . commons . io . IDENT_2 . toByteArray ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . class . getResourceAsStream ( STRING_3 ) ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . xml . stream . IDENT_1 ) { writer . METHOD_3 ( ) ; writer . METHOD_4 ( STRING_4 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app ) ; writer . METHOD_4 ( STRING_5 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_6 ) ; writer . METHOD_4 ( STRING_6 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_7 ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app , "a" ) ; writer . METHOD_6 ( STRING_4 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app ) ; writer . METHOD_6 ( STRING_5 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_6 ) ; writer . METHOD_6 ( STRING_6 , org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_7 ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app , "b" ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_6 , STRING_7 ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app , STRING_8 ) ; writer . METHOD_7 ( ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_7 , STRING_9 ) ; writer . METHOD_8 ( STRING_10 ) ; writer . METHOD_7 ( ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . app , "b" ) ; writer . METHOD_5 ( org . IDENT_3 . commons . xml . IDENT_4 . IDENT_5 . IDENT_6 , STRING_7 ) ; writer . METHOD_7 ( ) ; writer . METHOD_7 ( ) ; writer . METHOD_7 ( ) ; writer . METHOD_7 ( ) ; writer . METHOD_7 ( ) ; writer . close ( ) ; }
org . junit . Assert . assertArrayEquals ( expected , actual )