Ejemplo n.º 1
0
        public void TestThatCanUpgradeMembershipValidatesWhetherMembershipCanBeUpgraded(Membership currentMembership, Membership upgradeToMembership, bool expectedResult)
        {
            IDomainObjectValidations sut = new DomainObjectValidations();

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

            bool result = sut.CanUpgradeMembership(currentMembership, upgradeToMembership);

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