Пример #1
0
 public void DisposeTest()
 {
     MockDisposer target = new MockDisposer();
     target.Dispose();
     Assert.IsTrue(target.ManagedCleanUpFlag);
     Assert.IsTrue(target.UnmanagedCleanUpFlag);
 }
Пример #2
0
        public void DisposeTest()
        {
            MockDisposer target = new MockDisposer();

            target.Dispose();
            Assert.IsTrue(target.ManagedCleanUpFlag);
            Assert.IsTrue(target.UnmanagedCleanUpFlag);
        }