METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . bean . IDENT_2 p = METHOD_1 ( ) ; java . util . List < com . IDENT_0 . IDENT_1 . bean . IDENT_2 > list = java . util . Arrays . asList ( p , p , p , p , p ) ; com . IDENT_0 . IDENT_1 . bean . IDENT_3 co = new com . IDENT_0 . IDENT_1 . bean . METHOD_2 ( p , list , list . toArray ( new com . IDENT_0 . IDENT_1 . bean . IDENT_2 [ list . size ( ) ] ) ) ; java . lang . String json = IDENT_1 . serialize ( co ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( STRING_0 ) ; if ( ( ( IDENT_4 ) != null ) && ( ( IDENT_4 . length ) > 0 ) ) { for ( int i = 0 ; i < ( ( IDENT_4 . length ) - 1 ) ; i ++ ) { sb . append ( IDENT_4 [ i ] . METHOD_3 ( ) ) . append ( STRING_1 ) ; } sb . append ( IDENT_4 [ ( ( IDENT_4 . length ) - 1 ) ] . METHOD_3 ( ) ) ; } sb . append ( STRING_2 ) ; if ( ( ( IDENT_5 ) != null ) && ( ( IDENT_5 . size ( ) ) > 0 ) ) { for ( int i = 0 ; i < ( ( IDENT_5 . size ( ) ) - 1 ) ; i ++ ) { sb . append ( IDENT_5 . get ( i ) . METHOD_3 ( ) ) . append ( STRING_1 ) ; } sb . append ( IDENT_5 . get ( ( ( IDENT_5 . size ( ) ) - 1 ) ) . METHOD_3 ( ) ) ; } sb . append ( STRING_3 ) ; if ( ( IDENT_6 ) != null ) sb . append ( IDENT_6 . METHOD_3 ( ) ) ; else sb . append ( STRING_4 ) ; sb . append ( STRING_5 ) ; return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( co . METHOD_3 ( ) , json )