public void GetSourceValueThrowsExceptionWhenNoSourceExpressionProvidedTest()
{
var context = new Person();
var target = new GeneratorWrapper(PropertyExpression.FirstName, (Regex)null, (Type)null);
Action action = () => target.ReadSourceValue(context);
action.ShouldThrow<InvalidOperationException>();
}