METHOD_0 ( ) { IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_3 registry = new IDENT_0 . IDENT_1 . api . IDENT_2 . METHOD_1 ( ) ; IDENT_0 . IDENT_1 . build . IDENT_2 . IDENT_4 . processor . IDENT_5 processor = new IDENT_0 . IDENT_1 . build . IDENT_2 . IDENT_4 . processor . METHOD_2 ( ) ; @ IDENT_0 . IDENT_1 . test . METHOD_3 ( STRING_0 ) IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_6 IDENT_7 = processor . process ( new org . example . IDENT_8 . METHOD_4 ( ) , registry ) ; javax . xml . IDENT_9 . IDENT_10 IDENT_11 = javax . xml . IDENT_9 . IDENT_10 . newInstance ( IDENT_0 . IDENT_1 . api . IDENT_2 . METHOD_1 . class , org . example . IDENT_12 . model . IDENT_13 . class , org . example . IDENT_12 . model . IDENT_14 . class , org . example . IDENT_12 . IDENT_15 . class ) ; javax . xml . IDENT_9 . IDENT_16 IDENT_17 = IDENT_11 . METHOD_5 ( ) ; IDENT_17 . setProperty ( IDENT_16 . IDENT_18 , true ) ; IDENT_17 . METHOD_6 ( registry , System . out ) ; java . io . ByteArrayOutputStream IDENT_19 = new java . io . ByteArrayOutputStream ( ) ; IDENT_17 . METHOD_6 ( registry , IDENT_19 ) ; byte [ ] IDENT_20 = IDENT_19 . toByteArray ( ) ; javax . xml . IDENT_9 . IDENT_21 IDENT_22 = IDENT_11 . METHOD_7 ( ) ; registry = ( ( IDENT_0 . IDENT_1 . api . IDENT_2 . METHOD_1 ) ( IDENT_22 . METHOD_8 ( new java . io . ByteArrayInputStream ( IDENT_20 ) ) ) ) ; IDENT_19 = new java . io . ByteArrayOutputStream ( ) ; IDENT_17 . METHOD_6 ( registry , IDENT_19 ) ; byte [ ] IDENT_23 = IDENT_19 . toByteArray ( ) ; "<AssertPlaceHolder>" ; java . io . IDENT_24 IDENT_25 = new java . io . METHOD_9 ( new java . io . File ( STRING_1 ) ) ; IDENT_17 . METHOD_6 ( registry , IDENT_25 ) ; IDENT_25 . METHOD_10 ( ) ; IDENT_25 . close ( ) ; } METHOD_8 ( IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_26 ) { java . util . IDENT_27 < java . lang . String , IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_28 > map = new java . util . IDENT_27 < java . lang . String , IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_28 > ( ) ; for ( IDENT_0 . IDENT_1 . api . IDENT_2 . IDENT_28 spec : IDENT_29 . data ) { map . put ( spec . getName ( ) , spec ) ; } return map ; }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( IDENT_20 , IDENT_23 ) )