public void FindPropertiesReturnsPropertyMatchTest(Type type, string expression, bool shouldExist)
{
var regex = new Regex(expression);
var target = Activator.CreateInstance(type);
var actual = target.FindProperties(regex);
if (shouldExist)
{
actual.Should().NotBeEmpty();
}
else
{
actual.Should().BeEmpty();
}
}