public void ShouldThrowIfPostsharpWasWeaved() { var test = new TestClass(); Action action = () => test.DoSomething(); action.ShouldThrow <Exception>().WithMessage("Thrown from postsharp"); }