public void IsDotNotation_ShoulRejectInput_WhenForbiddenCharactersAreUsed(string test) { ConventionRegex.IsDotNotation(test) .Should() .BeFalse(); }
public void IsDotNotation_ShoulRejectInput_WhenWrongCase(string test) { ConventionRegex.IsDotNotation(test) .Should() .BeFalse(); }
public void IsDotNotation_ShoulRejectLowerCase_WhenCaptialOnlyIsUsed(string test) { ConventionRegex.IsDotNotation(test, allowedLetters: RegexLetterCase.CapitalOnly) .Should() .BeFalse(); }
public void IsDotNotation_ShouldTakeacceptNumbers_WhenOptionIsSet(string test) { ConventionRegex.IsDotNotation(test, allowNumbers: true) .Should() .BeTrue(); }
public void IsDotNotation_ShouldTakeCaptialLetters_WhenCaptialEnumIsUsed(string test) { ConventionRegex.IsDotNotation(test, allowedLetters: RegexLetterCase.CapitalOnly, maxLength: 25) .Should() .BeTrue(); }
public void IsDotNotation_ShouldReturnTrue_WhenInputIsValid(string test) { ConventionRegex.IsDotNotation(test, maxLength: 21) .Should() .BeTrue(); }