METHOD_0 ( ) { java . util . List < org . IDENT_0 . catalog . IDENT_1 > list = new java . util . ArrayList < org . IDENT_0 . catalog . IDENT_1 > ( ) ; org . IDENT_0 . catalog . IDENT_1 IDENT_2 = new org . IDENT_0 . catalog . impl . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . METHOD_3 ( STRING_1 ) ; list . add ( IDENT_2 ) ; org . IDENT_0 . catalog . IDENT_1 IDENT_3 = new org . IDENT_0 . catalog . impl . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( STRING_2 ) ; IDENT_3 . METHOD_3 ( STRING_3 ) ; list . add ( IDENT_3 ) ; java . lang . String actual = org . IDENT_0 . config . util . IDENT_4 . toString ( list ) ; System . out . println ( actual ) ; java . lang . String expected = STRING_4 ; "<AssertPlaceHolder>" ; } toString ( java . util . List ) { if ( ( list == null ) || ( list . isEmpty ( ) ) ) { return null ; } net . sf . json . IDENT_5 array = new net . sf . json . METHOD_4 ( ) ; for ( org . IDENT_0 . catalog . IDENT_1 id : list ) { if ( id == null ) { continue ; } net . sf . json . JSONObject IDENT_6 = new net . sf . json . JSONObject ( ) ; IDENT_6 . put ( org . IDENT_0 . config . util . IDENT_4 . IDENT_7 , id . METHOD_5 ( ) ) ; IDENT_6 . put ( org . IDENT_0 . config . util . IDENT_4 . IDENT_8 , id . METHOD_6 ( ) ) ; array . add ( IDENT_6 ) ; } if ( ( array . size ( ) ) == 0 ) { return null ; } java . lang . String IDENT_9 = array . toString ( ) ; return IDENT_9 ; }
org . junit . Assert . assertEquals ( expected , actual )