public TAssertion Should() { PredicateString.Add("should"); _filter.Materialize(); if (!_filter.FilteredItems.Any()) { PredicateString.Add("WARNING! No matches ******"); } return(CeateAssertionFunc(_filter, _negate)); }
public IAssemblyPredicate OnlyAnAssembly() { PredicateString.Start("Only an assembly"); return(CreateAssembly(true, true));; }
public IClassPredicate OnlyAClass() { PredicateString.Start("Only a class"); return(CreateClass(true, true)); }
public IAssemblyPredicate EachAssembly() { PredicateString.Start("Each assembly"); return(CreateAssembly(false, false)); }
public IAssemblyPredicate NoAssembly() { PredicateString.Start("No assembly"); return(CreateAssembly(true, false)); }
public IClassPredicate NoClass() { PredicateString.Start("No class"); return(CreateClass(true, false)); }
public IClassPredicate EachClass() { PredicateString.Start("Each class"); return(CreateClass(false, false)); }
public TAssertion Not() { PredicateString.Add("not"); Verifier.Negate(); return(LogicalLink.And()); }