public void IsMatchReturnsWhetherTypeAndRegularExpressionMatchTest(
Type type,
string expression,
Type matchType,
string matchName,
bool expected)
{
var priority = Environment.TickCount;
var regex = new Regex(expression);
var target = new CreationRule(type, regex, priority, (object)null);
var actual = target.IsMatch(matchType, matchName);
actual.Should().Be(expected);
}