public void ThrowExceptionIfStringIsInvalid_WithValidStrings_ShouldNotThrow_ArgumentException(string toCheck)
        {
            //Act
            Action act = () => StringArgumentChecking.ThrowExceptionIfStringIsInvalid(toCheck, nameof(toCheck));

            //Assert
            act.Should().NotThrow();
        }
        public void ThrowExceptionIfStringIsInvalid_WithInvalidStrings_ShouldThrow_ArgumentException(string toCheck)
        {
            //Act
            Action act = () => StringArgumentChecking.ThrowExceptionIfStringIsInvalid(toCheck, nameof(toCheck));

            //Assert
            act.Should().ThrowExactly <ArgumentException>().Where(e => e.Message.Contains(nameof(toCheck)));
        }
        public void IsStringValid_WithValidStrings_ShouldWork(string toCheck)
        {
            //Act
            bool result = StringArgumentChecking.IsStringValid(toCheck);

            //Assert
            result.Should().BeTrue();
        }
        public void ThrowExceptionIfNullOrContainsInvalidString_WithNullArgument_ShouldThrow_ArgumentNullException(
            string[] toCheck)
        {
            //Act
            Action act = () =>
                         StringArgumentChecking.ThrowExceptionIfNullOrContainsInvalidString(toCheck, nameof(toCheck));

            //Assert
            act.Should().ThrowExactly <ArgumentNullException>().Where(e => e.Message.Contains(nameof(toCheck)));
        }
        public void ThrowExceptionIfContainsInvalidString_WithValidStrings_ShouldNotThrow_ArgumentException(
            string[] toCheck)
        {
            //Act
            Action act = () =>
                         StringArgumentChecking.ThrowExceptionIfNullOrContainsInvalidString(toCheck, nameof(toCheck));

            //Assert
            act.Should().NotThrow();
        }