コード例 #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);
 }
コード例 #2
0
 public ConjunctionAssertion(BaseSpecification assertion)
 {
     AddSpec(assertion);
 }
コード例 #3
0
		public ConjunctionAssertion(BaseSpecification assertion)
		{
			AddSpec(assertion);
		}
コード例 #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);
		}