Ejemplo n.º 1
0
        public void TestThatHasReachedHouseholdLimitValidatesWhetherHouseholdLimitHasBeenReached(Membership membership, int numberOfHouseholds, bool expectedResult)
        {
            IDomainObjectValidations sut = new DomainObjectValidations();

            Assert.That(sut, Is.Not.Null);

            bool result = sut.HasReachedHouseholdLimit(membership, numberOfHouseholds);

            Assert.That(result, Is.EqualTo(expectedResult));
        }