### Question:
ImmutableQuery implements Query { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("parameters",this.parameters.values()). toString(); } 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 testHasCustomStringRepresentation() { assertThat(queryWithParameters().toString(),not(equalTo(Utils.defaultToString(queryWithParameters())))); }