public void TestGenericSetupDefaultPositive() { Mock.SetupDefault(() => TestStaticClass.TestVoidMethodWithoutParametersThrowsException(), () => { TestStaticClass.TestVoidMethodWithoutParametersThrowsException(); }); }
public void TestSetupDefaultPositive() { Mock.SetupDefault(typeof(TestStaticClass), nameof(TestStaticClass.TestVoidMethodWithoutParametersThrowsException), () => { TestStaticClass.TestVoidMethodWithoutParametersThrowsException(); }); }