public static AndConstraint <ObjectAssertions> BeViewWithDefaultName(this ObjectAssertions assertions) { return(assertions.BeView(vr => string.IsNullOrWhiteSpace(vr.ViewName))); }
public static AndConstraint <ObjectAssertions> BeViewWithName(this ObjectAssertions assertions, string viewName) { return(assertions.BeView(vr => vr.ViewName == viewName)); }