FieldSearchParam implements SearchParam { @Override public String toString() { return getQuery(); } FieldSearchParam(String fieldName, String value); String getQuery(); Query getLuceneQuery(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testToString_1() throws Exception { FieldSearchParam fixture = new FieldSearchParam("", ""); String result = fixture.toString(); assertEquals(":", result); }