public void Should_Not_Throw_Exception_If_Pattern_Is_Null_Or_Empty()
{
// arrange
var workingDirectory = TestFileSystem.CreateTempWorkingDirectory();
TestFileSystem.CreateFile(workingDirectory, "Script_01.sql");
TestFileSystem.CreateFile(workingDirectory, "Script_02.sql");
var rule = new FileNamePatternValidationRule(pattern: null);
// act & assert
Action action = () => rule.Validate(workingDirectory);
action.ShouldNotThrow();
}