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