Header { @Override public int hashCode() { return new HashCodeBuilder(19, 25). append(key).append(valueBytes).toHashCode(); } Header(@Nonnull String key, @Nonnull String value); protected  Header(); String getKey(); void setKey(String key); @XmlTransient String getValue(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testHashCode_1() throws Exception { Header fixture = new Header("", ""); int result = fixture.hashCode(); assertEquals(475, result); }