Query { public String getWhere() { return where; } private  Query(final String where, final String suffix, final Map<String, Object> parameters); static Builder builder(); String getWhere(); Map<String, Object> getParameters(); String getQuerySuffix();  }
@Test public void testAnd() { assertThat(builder.where("x").and("y").build().getWhere(), is("x AND y")); }