public void class_not_excluded_by_none() { TypeA12 subject = new TypeA12(); ITypeFilter filter = new TypeFilter(new List<Type>{}, new List<Type>{}, new List<Type>{typeof(TypeB)}); Assert.That (filter.Matches(subject), Is.True); }
public void class_matched_by_all() { TypeA12 subject = new TypeA12(); ITypeFilter filter = new TypeFilter(new List<Type>{typeof(TypeA), typeof(IType1), typeof(IType2)}, new List<Type>{}, new List<Type>{}); Assert.That (filter.Matches(subject), Is.True); }