public void ToCivilRegistrationValidityStatusIndicator_InActiveValues_ReturnsFalse( [Values(30, 50, 60)] decimal status) { var personTotal = new PersonTotalStub() { Status = status }; var result = personTotal.ToCivilRegistrationValidityStatusIndicator(); Assert.False(result); }
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); }