public void ClearStrictCollectionAndDisposesItNonGeneric()
        {
            CollectionBase collection = MockRepository.MockMulti <CollectionBase>(new Type[] { typeof(IDisposable) });

            collection.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
            ClearStrictCollectionAndDisposesItCommon(collection);
        }
        public void ClearStrictCollectionAndDisposesItGeneric()
        {
            CollectionBase collection = MockRepository.Mock <CollectionBase, IDisposable>();

            collection.SetUnexpectedBehavior(UnexpectedCallBehaviors.BaseOrDefault);
            ClearStrictCollectionAndDisposesItCommon(collection);
        }