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