infofour.equals(infoone));
}
public void testHashCode() throws Exception
{
OpenMBeanConstructorInfo infoone =
new OpenMBeanConstructorInfoSupport("wine", "Vino", signature);
assertTrue("Null infoone constructed", infoone != null);
assertTrue("Unexpected hash code",
infoone.hashCode() == hashCode(infoone));
OpenMBeanConstructorInfo infotwo =
new OpenMBeanConstructorInfoSupport("wine",
"Nectar of the gods",
signature);
assertTrue("Null infotwo constructed", infotwo != null);
assertTrue("Expecting equal hash codes",
infoone.hashCode() == infotwo.hashCode());
}