METHOD_0 ( ) { java . lang . String expected = STRING_0 ; java . lang . Object [ ] array = new java . lang . Object [ ] { "a" , 1 , FLOAT_0 , null , true } ; java . lang . String json = IDENT_0 . serialize ( array ) ; "<AssertPlaceHolder>" ; } serialize ( java . lang . Object ) { com . IDENT_1 . IDENT_0 . StringWriter IDENT_2 = new com . IDENT_1 . IDENT_0 . StringWriter ( ) ; com . IDENT_1 . IDENT_0 . IDENT_3 writer = METHOD_1 ( IDENT_2 ) ; if ( object == null ) METHOD_2 ( writer ) ; else serialize ( object , object . getClass ( ) , writer , new com . IDENT_1 . IDENT_0 . Context ( this ) ) ; return IDENT_2 . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , json )