* Test method for
* {@link org.gedcom4j.model.Corporation#hashCode()}.
*/
@Test
public void testHashCode() {
Corporation c1 = new Corporation();
Corporation c2 = new Corporation();
assertEquals("Objects are equal, so equals() should return true",
c1.hashCode(), c2.hashCode());
c1.businessName = "Frying Pan";
assertFalse(
"Objects are no longer equal, so equals() should return false",
c1.hashCode() == c2.hashCode());
c2.businessName = "Frying Pan";
assertEquals(
"Objects are equal again, so equals() should return true again",
c1.hashCode(), c2.hashCode());
}