public void TestThrowsTestVoidMethodWithParameters() { Mock.Setup(() => TestStaticClass.TestVoidMethodWithParameters(1), () => { Assert.Throws <Exception>(() => TestStaticClass.TestVoidMethodWithParameters(1)); }).Throws <Exception>(); }