public void TestSetupDefaultTestMethodThrowsExceptionNegative() { Assert.Throws <Exception>(() => Mock.SetupDefault(typeof(TestStaticClass), nameof(TestStaticClass.TestMethodThrowsException), () => { TestStaticClass.TestMethodThrowsException(); })); }
public void TestGenericSetupDefaultTestMethodThrowsExceptionNegative() { Assert.Throws <Exception>(() => Mock.SetupDefault(() => TestStaticClass.TestMethodThrowsException(), () => { TestStaticClass.TestMethodThrowsException(); })); }