public void ExcludePropertyTests_prevents_any_property_tests() { var sut = new AssemblyTester(Assembly.Load("NSimpleTester.Tests.PropertyErrors")); // verity the assembly has issues first so we know the test is valid. Assert.Throws <InvalidOperationException>(() => sut.TestAssembly()); sut.ExcludePropertyTests(); sut.TestAssembly(); }