METHOD_0 ( ) { com . couchbase . client . java . document . json . IDENT_0 IDENT_1 = com . couchbase . client . java . document . json . IDENT_0 . create ( ) . put ( STRING_0 , 1 ) . put ( STRING_1 , STRING_2 ) ; com . couchbase . client . java . IDENT_2 . IDENT_3 query = new com . couchbase . client . java . IDENT_2 . METHOD_1 ( STRING_3 , null , IDENT_1 , null ) ; com . couchbase . client . java . document . json . IDENT_0 expected = com . couchbase . client . java . document . json . IDENT_0 . METHOD_2 ( STRING_4 ) ; com . couchbase . client . java . document . json . IDENT_0 result = query . query ( ) ; "<AssertPlaceHolder>" ; } query ( ) { com . couchbase . client . java . document . json . IDENT_0 query = super . query ( ) ; if ( ( ( IDENT_1 ) != null ) && ( ! ( IDENT_1 . isEmpty ( ) ) ) ) { for ( java . lang . String key : IDENT_1 . METHOD_3 ( ) ) { java . lang . Object value = IDENT_1 . get ( key ) ; if ( ! ( key . startsWith ( STRING_5 ) ) ) { key = STRING_5 + key ; } query . put ( key , value ) ; } } if ( ( ( IDENT_4 ) != null ) && ( ! ( IDENT_4 . isEmpty ( ) ) ) ) { query . put ( STRING_6 , IDENT_4 ) ; } return query ; }
org . junit . Assert . assertEquals ( result , expected )