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