METHOD_0 ( ) { com . couchbase . client . java . document . IDENT_0 IDENT_1 = com . couchbase . client . java . document . IDENT_0 . create ( STRING_0 , 0 , com . couchbase . client . java . document . json . IDENT_2 . empty ( ) , 0 , new com . couchbase . client . core . message . IDENT_3 . METHOD_1 ( 1 , INT_0 , INT_1 , STRING_1 ) ) ; com . couchbase . client . java . document . IDENT_0 IDENT_4 = com . couchbase . client . java . document . IDENT_0 . create ( STRING_2 , 0 , com . couchbase . client . java . document . json . IDENT_2 . empty ( ) , 0 , new com . couchbase . client . core . message . IDENT_3 . METHOD_1 ( 5 , 2 , 3 , STRING_1 ) ) ; com . couchbase . client . java . document . IDENT_0 IDENT_5 = com . couchbase . client . java . document . IDENT_0 . create ( STRING_3 , 0 , com . couchbase . client . java . document . json . IDENT_2 . empty ( ) , 0 , new com . couchbase . client . core . message . IDENT_3 . METHOD_1 ( 8 , 1 , 4 , STRING_4 ) ) ; com . couchbase . client . java . query . IDENT_6 source = com . couchbase . client . java . query . IDENT_6 . build ( ) . METHOD_2 ( IDENT_1 , IDENT_4 , IDENT_5 ) ; com . couchbase . client . java . document . json . IDENT_2 actual = com . couchbase . client . java . document . json . IDENT_2 . empty ( ) ; source . METHOD_3 ( actual ) ; com . couchbase . client . java . document . json . IDENT_2 IDENT_7 = com . couchbase . client . java . document . json . IDENT_2 . create ( ) . put ( "1" , com . couchbase . client . java . document . json . IDENT_8 . from ( INT_2 , STRING_5 ) ) . put ( STRING_6 , com . couchbase . client . java . document . json . IDENT_8 . from ( INT_3 , STRING_3 0 ) ) ; com . couchbase . client . java . document . json . IDENT_2 IDENT_9 = com . couchbase . client . java . document . json . IDENT_2 . create ( ) . put ( STRING_3 1 , com . couchbase . client . java . document . json . IDENT_8 . from ( INT_4 , "1" ) ) ; com . couchbase . client . java . document . json . IDENT_2 expected = com . couchbase . client . java . document . json . IDENT_2 . create ( ) . put ( STRING_3 2 , STRING_7 ) . put ( STRING_8 , com . couchbase . client . java . document . json . IDENT_2 . create ( ) . put ( STRING_1 , IDENT_7 ) . put ( STRING_4 , IDENT_9 ) ) ; "<AssertPlaceHolder>" ; } put ( java . lang . String , IDENT_10 ) { if ( key == null ) { throw new java . lang . METHOD_4 ( STRING_9 ) ; } if ( ! ( com . couchbase . client . java . document . json . IDENT_11 . METHOD_5 ( value ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_10 ) ; } for ( int i = 0 ; i < ( com . couchbase . client . java . IDENT_12 . collections . IDENT_13 . IDENT_14 ) ; i ++ ) { try { com . couchbase . client . java . IDENT_15 . IDENT_16 < com . couchbase . client . core . message . IDENT_3 . IDENT_15 . IDENT_17 . IDENT_18 > IDENT_19 = IDENT_20 . METHOD_6 ( id ) . get ( key ) . execute ( ) ; long IDENT_21 = IDENT_19 . METHOD_7 ( ) ; java . lang . Object result = null ; if ( IDENT_19 . exists ( key ) ) { result = IDENT_19 . content ( key ) ; } IDENT_20 . METHOD_8 ( id ) . METHOD_9 ( key , value , false ) . METHOD_10 ( IDENT_21 ) . execute ( ) ; return ( ( IDENT_10 ) ( result ) ) ; } catch ( com . couchbase . client . java . error . IDENT_22 ex ) { } } throw new java . util . METHOD_11 ( ( ( STRING_11 + ( com . couchbase . client . java . IDENT_12 . collections . IDENT_13 . IDENT_14 ) ) + STRING_12 ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )