METHOD_0 ( ) { net . sf . json . JSONObject json = new net . sf . json . JSONObject ( ) ; json . put ( IDENT_0 . IDENT_1 , STRING_0 ) ; json . put ( IDENT_0 . IDENT_2 , STRING_1 ) ; com . IDENT_3 . tools . IDENT_4 . IDENT_5 . dto . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_3 . tools . IDENT_4 . IDENT_5 . dto . IDENT_6 . METHOD_1 ( json ) ; java . lang . String expected = STRING_2 ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( ( ( name ) == null ) || ( ( IDENT_9 ) == null ) ) { return null ; } else if ( ( IDENT_9 . isEmpty ( ) ) || ( name . isEmpty ( ) ) ) { return "" ; } else { java . lang . StringBuffer str = new java . lang . StringBuffer ( STRING_3 ) ; str . append ( name ) . append ( STRING_4 ) . append ( IDENT_9 ) . append ( STRING_5 ) ; return str . toString ( ) ; } }
org . junit . Assert . assertEquals ( expected , IDENT_8 . METHOD_2 ( ) )