예제 #1
0
        public void VoidIsNotAValidTypeWhenGeneratingProxy()
        {
            //Arrange
            var generator = new ProxyGenerator();

            //Act + Assert
            Expect.ArgumentOutOfRangeException(() => generator.Generate(typeof(void)));
        }