Beispiel #1
0
        public void DisposeMustDoNothingWhenCalled()
        {
            NullScope scope = ReflectionHelper.InvokeConstructor <NullScope>();

            scope.Dispose();
            Assert.True(scope.IsDisposed);
        }
Beispiel #2
0
 static Page()
 {
     dummy = new NullScope();
 }