MustNotFieldSearchParam implements SearchParam { @Override public int hashCode() { return new HashCodeBuilder(45, 11).append(fieldName).append(value).toHashCode(); } MustNotFieldSearchParam(String fieldName, String value); String getQuery(); Query getLuceneQuery(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testHashCode_1() throws Exception { MustNotFieldSearchParam fixture = new MustNotFieldSearchParam("", ""); int result = fixture.hashCode(); assertEquals(5445, result); }