public void throws_TypeMatcherError_if_empty_and_filter_requested() { Assert.Throws(typeof(TypeMatcherException), new TestDelegate(() => { NamespaceMatcher emptyInstance = new NamespaceMatcher(); emptyInstance.CreateTypeFilter(); } )); }
public void setUp() { REQUIRE = PARENT_PACKAGE; REQUIRE_2 = PACKAGE_A; ANY_OF = new string[] { PACKAGE_A, PACKAGE_B }; ANY_OF_2 = new string[] { PACKAGE_B, PACKAGE_C }; NONE_OF = new string[] { PACKAGE_C }; NONE_OF_2 = new string[] { PACKAGE_B }; instance = new NamespaceMatcher(); }
public void tearDown() { instance = null; }