public virtual void TestDropClassIndex() { ClassMetadataTestCase.Item item = new ClassMetadataTestCase.Item(); Store(item); AssertOccurrences(typeof(ClassMetadataTestCase.Item), 1); ClassMetadata classMetadata = Container().ClassMetadataForObject(item); classMetadata.DropClassIndex(); AssertOccurrences(typeof(ClassMetadataTestCase.Item), 0); }