public void SatifiesMyUpperCaseCriteria()
        {
            ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests(new MyUpperCaseCriteria());

            Assert.IsTrue(composedCriteria.IsSatisfied("HELLO"));
            Assert.IsFalse(composedCriteria.IsSatisfied("hello"));
        }
		public void SatifiesTwoCriteria()
		{
			ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests();
			composedCriteria.Add(new MyUpperCaseCriteria());
			composedCriteria.Add(new MyStringCriteria());
			Assert.IsTrue(composedCriteria.IsSatisfied("HELLO"));
			Assert.IsFalse(composedCriteria.IsSatisfied("GOODBYE"));
			Assert.IsTrue( composedCriteria.Criteria.Count == 2 );
		}
        public void SatifiesTwoCriteria()
        {
            ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests();

            composedCriteria.Add(new MyUpperCaseCriteria());
            composedCriteria.Add(new MyStringCriteria());
            Assert.IsTrue(composedCriteria.IsSatisfied("HELLO"));
            Assert.IsFalse(composedCriteria.IsSatisfied("GOODBYE"));
            Assert.IsTrue(composedCriteria.Criteria.Count == 2);
        }
        public void IsSatisfiedWithNoCriteria()
        {
            ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests();

            Assert.IsTrue(composedCriteria.IsSatisfied("foo"));
        }
		public void SatifiesMyUpperCaseCriteria()
		{
			ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests(new MyUpperCaseCriteria());
			Assert.IsTrue(composedCriteria.IsSatisfied("HELLO"));
			Assert.IsFalse(composedCriteria.IsSatisfied("hello"));
		}
		public void IsSatisfiedWithNoCriteria()
		{
			ComposedCriteriaTests composedCriteria = new ComposedCriteriaTests();
			Assert.IsTrue(composedCriteria.IsSatisfied("foo"));
		}