private static void ClearStrictCollectionAndDisposesItCommon(CollectionBase collection)
        {
            collection.Expect(x => x.Clear());
            ((IDisposable)collection).Expect(x => x.Dispose());

            CleanCollection(collection);
            collection.VerifyAllExpectations();
        }