public void testRemoveTwice() throws Exception
{
MetaDataAndMutableMetaData metaData = setupEmpty();
long last = metaData.getValidTime();
ExpectedMetaData expected = emptyExpectedMetaData();
last = assertAddMetaDataNoPrevious(metaData, new TestMetaDataImpl(), TestMetaData.class, expected, last);
assertRemoveMetaData(metaData, TestMetaData.class, expected, last);
assertNotRemovedMetaData(metaData, TestMetaData.class, last);
assertAllMetaData(metaData, expected);