METHOD_0 ( ) { org . apache . IDENT_0 . core . IDENT_1 [ ] parent = new org . apache . IDENT_0 . core . IDENT_1 [ 1 ] ; parent [ 0 ] = new org . apache . IDENT_0 . core . METHOD_1 ( 200 , INT_0 ) ; org . apache . IDENT_0 . core . IDENT_2 . Builder builder = new org . apache . IDENT_0 . core . IDENT_2 . Builder ( ) . METHOD_2 ( parent ) . METHOD_3 ( 1 ) . end ( 2 ) . METHOD_4 ( new org . apache . IDENT_0 . core . METHOD_1 ( 10 , 20 ) ) . METHOD_5 ( STRING_0 ) . description ( STRING_1 ) ; org . apache . IDENT_0 . core . IDENT_3 IDENT_4 = builder . build ( ) ; try { java . lang . String json = org . apache . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_6 ( IDENT_4 ) ; java . lang . String expected = STRING_2 + STRING_3 ; "<AssertPlaceHolder>" ; } catch ( java . io . IOException e ) { org . junit . Assert . fail ( ( STRING_4 + ( e . getMessage ( ) ) ) ) ; } } METHOD_6 ( org . apache . IDENT_0 . core . IDENT_3 ) { java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_7 writer = new java . io . METHOD_7 ( out , java . nio . IDENT_8 . IDENT_9 . METHOD_8 ( ) ) ; org . apache . IDENT_0 . IDENT_5 . IDENT_6 . METHOD_9 ( IDENT_4 , writer ) ; writer . METHOD_10 ( ) ; out . METHOD_10 ( ) ; return out . toString ( ) ; }
org . junit . Assert . assertEquals ( json , expected )