@Test
public void testClear() {

    for (TimestampMap set : getAllInstances()) {
        Object[] defaultValues = getTestValues(set);
        set.put(1.0, defaultValues[0]);
        set.clear();
        Assert.assertEquals(set.size(), 0);
        Assert.assertTrue(set.isEmpty());
    }
}