public void IsSupportedReturnsFalseForUnsupportedScenariosTest(
Type type,
string referenceName,
Type contextType,
bool expected)
{
var buildChain = new LinkedList<object>();
if (contextType != null)
{
var context = Activator.CreateInstance(contextType);
buildChain.AddFirst(context);
}
var target = new GeneratorWrapper(PropertyExpression.FirstName, PropertyExpression.Gender);
var actual = target.IsSupported(type, referenceName, buildChain);
actual.Should().Be(expected);
}