Method Summary |
|
protected void | setUp() Common test setup. |
public static Test | suite() Returns the tests as a test suite. |
public void | testClone() This class is immutable, so it should not implement Cloneable. |
public void | testCompareTo() Some checks for the compareTo() method. |
public void | testEquals() Test the equals() method. |
public void | testEqualsSelf() Check that an instance is equal to itself. |
public void | testHashcode() Two objects that are equal are required to return the same hashCode. |
public void | testSerialization() Serialize an instance, restore it, and check for equality. |