public void ThrowsExceptionWithNullTargetExpressionTest() { Action action = () => new GeneratorWrapper(null, PropertyExpression.Gender); action.ShouldThrow<ArgumentException>(); }