METHOD_0 ( ) { java . util . HashMap < java . lang . String , java . lang . Object > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( STRING_0 , 1 ) ; IDENT_0 . put ( STRING_1 , 1 ) ; IDENT_0 . put ( STRING_2 , STRING_3 ) ; org . eclipse . IDENT_1 . IDENT_2 IDENT_3 = new org . eclipse . IDENT_1 . METHOD_1 ( STRING_4 , IDENT_0 ) ; java . util . HashMap < java . lang . String , java . lang . Object > IDENT_4 = new java . util . HashMap ( ) ; IDENT_4 . put ( STRING_5 , 3 ) ; org . eclipse . IDENT_1 . METHOD_1 IDENT_5 = new org . eclipse . IDENT_1 . METHOD_1 ( STRING_6 , IDENT_4 ) ; org . eclipse . IDENT_1 . METHOD_1 [ ] input = new org . eclipse . IDENT_1 . METHOD_1 [ ] { IDENT_3 , IDENT_5 } ; java . lang . String IDENT_6 = org . eclipse . IDENT_1 . METHOD_1 . serialize ( input ) ; org . eclipse . IDENT_1 . METHOD_1 [ ] output = org . eclipse . IDENT_1 . METHOD_1 . parse ( IDENT_6 . getBytes ( ) ) ; "<AssertPlaceHolder>" ; } parse ( byte [ ] ) { if ( content == null ) { return new org . eclipse . IDENT_1 . METHOD_1 [ ] { } ; } java . lang . String s = new java . lang . String ( content , java . nio . IDENT_7 . IDENT_8 . UTF_8 ) ; java . lang . String [ ] IDENT_9 = s . split ( STRING_7 ) ; org . eclipse . IDENT_1 . METHOD_1 [ ] IDENT_10 = new org . eclipse . IDENT_1 . METHOD_1 [ IDENT_9 . length ] ; int index = 0 ; for ( java . lang . String IDENT_11 : IDENT_9 ) { java . lang . String [ ] IDENT_12 = IDENT_11 . split ( STRING_8 ) ; java . lang . String url = org . eclipse . IDENT_1 . util . StringUtils . trim ( IDENT_12 [ 0 ] ) ; url = org . eclipse . IDENT_1 . util . StringUtils . METHOD_2 ( org . eclipse . IDENT_1 . util . StringUtils . METHOD_3 ( url , STRING_9 ) , STRING_10 ) ; java . util . Map < java . lang . String , java . lang . Object > attributes = new java . util . HashMap ( ) ; if ( ( IDENT_12 . length ) > 1 ) { for ( int i = 1 ; i < ( IDENT_12 . length ) ; i ++ ) { java . lang . String [ ] IDENT_13 = IDENT_12 [ i ] . split ( STRING_11 ) ; if ( ( IDENT_13 . length ) > 0 ) { java . lang . String key = IDENT_13 [ 0 ] ; java . lang . Object value = null ; if ( ( IDENT_13 . length ) > 1 ) { java . lang . String IDENT_14 = IDENT_13 [ 1 ] ; try { value = java . lang . Integer . valueOf ( IDENT_14 ) ; } catch ( java . lang . IDENT_15 e ) { value = IDENT_14 . METHOD_4 ( STRING_12 , STRING_13 ) ; } } attributes . put ( key , value ) ; } } } IDENT_10 [ index ] = new org . eclipse . IDENT_1 . METHOD_1 ( url , attributes ) ; index ++ ; } return IDENT_10 ; }
org . junit . Assert . assertArrayEquals ( input , output )