public void ComputeCheckDigit_WhenValidNumber_ReturnsExpectedValue(string number, int expectedValue) { // Act var checkDigit = BelgianHealthcarePractitionerLicenseNumber.ComputeCheckDigit(number); // Assert checkDigit.Should().Be(expectedValue); }
public void Province_WhenValidNumber_ReturnsExpectedValue(string number, BelgianProvince expectedValue) { // Arrange var practitionerNumber = new BelgianHealthcarePractitionerLicenseNumber(number); // Act var province = practitionerNumber.Province(); // Assert province.Should().Be(expectedValue); }
public void QualificationCode_WhenValidNumber_ReturnsExpectedValue(string number, string expectedValue) { // Arrange var practitionerNumber = new BelgianHealthcarePractitionerLicenseNumber(number); // Act var qualificationCode = practitionerNumber.QualificationCode(); // Assert qualificationCode.Should().Be(expectedValue); }
public void PractitionerUniqueIdentifier_WhenValidNumber_ReturnsExpectedValue(string number, int expectedValue) { // Arrange var practitionerNumber = new BelgianHealthcarePractitionerLicenseNumber(number); // Act var practitionerUniqueIdentifier = practitionerNumber.PractitionerUniqueIdentifier(); // Assert practitionerUniqueIdentifier.Should().Be(expectedValue); }
public void CheckDigit_WhenValidNumber_ReturnsExpectedValue(string number, int expectedValue) { // Arrange var practitionerNumber = new BelgianHealthcarePractitionerLicenseNumber(number); // Act var checkDigit = practitionerNumber.CheckDigit(); // Assert checkDigit.Should().Be(expectedValue); }