Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public ConjunctionAssertion(BaseSpecification assertion)
 {
     AddSpec(assertion);
 }
		public ConjunctionAssertion(BaseSpecification assertion)
		{
			AddSpec(assertion);
		}
Exemplo n.º 4
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);
		}