|
From: Steve F. <st...@m3...> - 2004-04-26 14:29:44
|
Are you sure he's setting up the returned object?
S
Nick Robinson wrote:
> I have a colleague who has tried to Mock a DateTime field on an
> interface:
>
> IFoo { DateTime Date { get; set; } }
>
> When a mock of IFoo is passed into a client call, access of
> non-DateTime properties work, but an access to the Date property
> generates an error about the object reference being null. Is there a
> known issue with Dates?
|