public void testRemoveTwice() throws Exception
{
MutableMetaDataLoader metaData = setupEmpty();
long last = metaData.getValidTime().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);