Method Summary |
|
public static Test | suite() Returns the tests as a test suite. |
public void | testAdditionOfDuplicatePeriod() If you add a duplicate period, an exception should be thrown. |
public void | testCloning() Confirm that cloning works. |
public void | testEquals() Confirm that the equals method can distinguish all the required fields. |
public void | testIndexOf() Simple test for the indexOf() method. |
public void | testRemove() Simple test for the remove() method. |
public void | testSerialization() Serialize an instance, restore it, and check for equality. |
public void | testSetMaximumItemCount() A simple check that the maximumItemCount attribute is working. |
public void | testSetMaximumItemCount2() Check that the maximum item count can be applied retrospectively. |