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