public void ThrowsExceptionWithNullTargetExpressionAndTypesTest() { Action action = () => new GeneratorWrapper(null, PropertyExpression.FirstName, typeof(string)); action.ShouldThrow<ArgumentException>(); }