Example #1
0
        public void ShouldThrowIfPostsharpWasWeaved()
        {
            var    test   = new TestClass();
            Action action = () => test.DoSomething();

            action.ShouldThrow <Exception>().WithMessage("Thrown from postsharp");
        }