METHOD_0 ( ) { final org . IDENT_0 . commons . xml . IDENT_1 input = new org . IDENT_0 . commons . xml . METHOD_1 ( org . IDENT_0 . commons . xml . IDENT_2 . IDENT_3 . class . getResourceAsStream ( STRING_0 ) ) ; final java . util . List < java . lang . String > list = new java . util . ArrayList < java . lang . String > ( ) ; list . add ( STRING_1 ) ; final java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( ) ; final javax . xml . stream . IDENT_5 writer = METHOD_2 ( list , IDENT_4 ) ; input . METHOD_3 ( ) . serialize ( writer ) ; writer . close ( ) ; byte [ ] actual = IDENT_4 . toByteArray ( ) ; byte [ ] expected = org . apache . commons . io . IDENT_6 . toByteArray ( org . IDENT_0 . commons . xml . IDENT_2 . IDENT_3 . class . getResourceAsStream ( STRING_2 ) ) ; "<AssertPlaceHolder>" ; } close ( ) { writer . close ( ) ; }
org . junit . Assert . assertArrayEquals ( expected , actual )