Exemple #1
0
        public void Should_finalize()
        {
            disposable = null;

            GC.Collect();
            GC.WaitForPendingFinalizers();
        }
Exemple #2
0
        public void Should_finalize()
        {
            disposable = null;

            GC.Collect();
            GC.WaitForPendingFinalizers();
        }
Exemple #3
0
 public DisposableTests()
 {
     disposable = new DisposableTestDouble();
 }
Exemple #4
0
 public DisposableTests()
 {
     disposable = new DisposableTestDouble();
 }