@Test public void testHasCorrectSizeWhenParametersAreDefined() { assertThat(queryWithParameters().size(),equalTo(2)); }
@Override public int size() { return this.parameters.size(); }
ImmutableQuery implements Query { @Override public int size() { return this.parameters.size(); } }
ImmutableQuery implements Query { @Override public int size() { return this.parameters.size(); } private  ImmutableQuery(Map<String, ImmutableQueryParameter> params); }
ImmutableQuery implements Query { @Override public int size() { return this.parameters.size(); } private  ImmutableQuery(Map<String, ImmutableQueryParameter> params); @Override boolean isEmpty(); @Override int size(); @Override boolean hasParameter(String paramName); @Override Parameter getParameter(String paramName); @Override String toString(); @Override Set<String> parameterNames(); }
ImmutableQuery implements Query { @Override public int size() { return this.parameters.size(); } private  ImmutableQuery(Map<String, ImmutableQueryParameter> params); @Override boolean isEmpty(); @Override int size(); @Override boolean hasParameter(String paramName); @Override Parameter getParameter(String paramName); @Override String toString(); @Override Set<String> parameterNames();  }