METHOD_0 ( ) { long key = IDENT_0 . insert ( IDENT_1 ) ; java . lang . String IDENT_2 = IDENT_0 . METHOD_1 ( key ) ; "<AssertPlaceHolder>" ; } insert ( com . baeldung . couchbase . mapreduce . IDENT_3 ) { java . lang . String id = IDENT_4 . METHOD_2 ( IDENT_5 ) ; if ( IDENT_6 . exists ( id ) ) { throw new com . baeldung . couchbase . mapreduce . METHOD_3 ( ( STRING_0 + id ) ) ; } com . couchbase . client . java . document . json . IDENT_7 content = com . couchbase . client . java . document . json . IDENT_7 . empty ( ) . put ( STRING_1 , STRING_2 ) . put ( "name" , IDENT_5 . getName ( ) ) . put ( STRING_3 , IDENT_5 . METHOD_4 ( ) ) . put ( STRING_4 , IDENT_5 . METHOD_5 ( ) ) . put ( STRING_5 , IDENT_5 . METHOD_6 ( ) ) ; com . couchbase . client . java . document . IDENT_8 doc = com . couchbase . client . java . document . IDENT_8 . create ( id , content ) ; IDENT_6 . insert ( doc ) ; return id ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_2 )