Exemple #1
0
 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);
 }
Exemple #2
0
 public ConjunctionAssertion(BaseSpecification assertion)
 {
     AddSpec(assertion);
 }
		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);
		}