public static void ThrowWhenNonStatic() { Type type = typeof(MockNonStaticTestSuite); Assert(RimTest.CheckTestSuiteIsStatic(type)).To.Be.False(); AssertFunc(() => RimTest.IsValidTestSuite(type)).To.Throw(); }
public static void PassWhenStatic() { Assert(RimTest.CheckTestSuiteIsStatic(typeof(MockValidTestSuite))).To.Be.True(); }
public static void ChecksAreFalseWhenNull() { Assert(RimTest.CheckTestSuiteIsPublic(null)).To.Be.False(); Assert(RimTest.CheckTestSuiteIsStatic(null)).To.Be.False(); }