protected void AddSpec(BaseSpecification spec) { if (spec == null) { throw new ArgumentException("Specification cannot be null. It's required for making assertions later on"); } specifications.Add(spec); }
public ConjunctionAssertion(BaseSpecification assertion) { AddSpec(assertion); }
protected void AddSpec(BaseSpecification spec) { if (spec == null) throw new ArgumentException("Specification cannot be null. It's required for making assertions later on"); specifications.Add(spec); }