### Question:
ImmutableQuery implements Query { @Override public Set<String> parameterNames() { return this.parameters.keySet(); } 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();  }### Answer:
@Test public void testGetAllParameterNames() { assertThat(queryWithParameters().parameterNames(),contains(PARAMETER_1,PARAMETER_2)); }