@Test
public void testRemove() {

    for (TimestampMap set : getAllInstances()) {
        Object[] defaultValues = getTestValues(set);
        set.put(1.0, defaultValues[0]);
        set.put(2.0, defaultValues[1]);
        Assert.assertTrue(set.remove(1.0));
        Assert.assertFalse(set.contains(1.0));
        Assert.assertEquals(set.get(2.0, null), defaultValues[1]);
        Assert.assertTrue(set.remove(2.0));
        Assert.assertTrue(set.isEmpty());
        Assert.assertFalse(set.contains(1.0));
    }
}