METHOD_0 ( ) { org . springframework . data . couchbase . core . mapping . IDENT_0 doc = new org . springframework . data . couchbase . core . mapping . METHOD_1 ( STRING_0 ) ; doc . put ( STRING_1 , "" ) ; java . lang . String expected = STRING_2 ; "<AssertPlaceHolder>" ; } encode ( org . springframework . data . couchbase . core . mapping . IDENT_1 ) { java . io . IDENT_2 writer = new java . io . StringWriter ( ) ; try { com . fasterxml . jackson . core . IDENT_3 generator = factory . METHOD_2 ( writer ) ; METHOD_3 ( source , generator ) ; generator . close ( ) ; writer . close ( ) ; } catch ( java . io . IOException ex ) { throw new java . lang . RuntimeException ( STRING_3 , ex ) ; } return writer . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , service . encode ( doc ) )