public void RefineNumber_Of_IranMobilePhone_ShouldCorrectIt_WhenItHasInCorrectNess(string entry, string result)
        {
            //Arrange
            IranMobilePhone phone = new IranMobilePhone();
            //Act
            var answer = phone.RefineNumber(entry);

            //Assert
            answer.Should().Be(result);
        }
        AddCountryCode_Of_IranMobilePhone_Should_ThrowException_WhenNumberIsWrong(string entry)
        {
            //Arrange
            IranMobilePhone phoneService = new IranMobilePhone();
            //Act
            Action validate = () => phoneService.AddCountryCode(entry);

            //Assert
            validate.Should().Throw <PhoneNumberInvalidException>();
        }
        AddCountryCode_Of_IranMobilePhone_ShouldreturnTrue_WhenItIsCorrectAndHasPlus(string entry, string result)
        {
            //Arrange
            IranMobilePhone phone = new IranMobilePhone();
            //Act
            var answer = phone.AddCountryCode(entry);

            //Assert
            answer.Should().Be(result);
        }
        public void IsValid_Of_IranMobilePhone_ShouldreturnTrue_WhenItIsCorrect(string entry)
        {
            //Arrange
            IranMobilePhone phoneService = new IranMobilePhone();
            //Act
            var result = phoneService.IsValid(entry);

            //Assert
            result.Should().BeTrue();
        }
        public void IsValid_Of_IranMobilePhone_ShouldreturnFalse_WhenHasInvalidPhoneNumberLength(string entry)
        {
            //Arrange
            IranMobilePhone phoneService = new IranMobilePhone();
            //Act
            var result = phoneService.IsValid(entry);

            //Assert
            result.Should().BeFalse();
        }
        public void IsValid_Of_IranMobilePhone_ShouldThrowException_WhenPhoneNumberIsNull()
        {
            //Arrange
            IranMobilePhone phoneService = new IranMobilePhone();
            //Act
            Action validate = () => phoneService.IsValid(null);

            //Assert
            validate.Should().Throw <ArgumentException>();
        }