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