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