예제 #1
0
        public void ToCivilRegistrationValidityStatusIndicator_InActiveValues_ReturnsFalse(
            [Values(30, 50, 60)] decimal status)
        {
            var personTotal = new PersonTotalStub()
            {
                Status = status
            };
            var result = personTotal.ToCivilRegistrationValidityStatusIndicator();

            Assert.False(result);
        }
예제 #2
0
        public void ToCivilRegistrationValidityStatusIndicator_ActiveValues_ReturnsTrue(
            [Values(1, 3, 5, 7, 20, 70, 80, 90)] decimal status)
        {
            var personTotal = new PersonTotalStub()
            {
                Status = status
            };
            var result = personTotal.ToCivilRegistrationValidityStatusIndicator();

            Assert.True(result);
        }