public void TraitProviderWithNoCategory() { var testFilter = VsTestFilterFactory.CreateVsTestFilter(settings, null); var trait = VsTestFilter.TraitProvider("JustKidding"); Assert.That(trait, Is.Null); }
public void TraitProvider() { var testFilter = VsTestFilterFactory.CreateVsTestFilter(settings, null); var trait = VsTestFilter.TraitProvider("TestCategory"); Assert.That(trait, Is.Not.Null); trait = VsTestFilter.TraitProvider("Category"); Assert.That(trait, Is.Not.Null); }