Attribute implements Serializable { @Override public int hashCode() { return new HashCodeBuilder(13, 49).append(name).append(value).toHashCode(); } Attribute();  Attribute(String name, String value); String getName(); void setName(String name); String getValue(); void setValue(String value); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testHashCode_1() throws Exception { Attribute fixture = new Attribute("", ""); int result = fixture.hashCode(); assertEquals(31213, result); }