chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Why is it possible to stub DateTime.Now but not DateTime.Today?
(Suggestion: Please raise the maximum character count for thread titles so the user does not have to omit "is it")

[ img ]
asked by Neil (27.7k points)

2 Answers

0 votes
Hi Neil,

Isolator does not fake mscorlib types, but it does have some exceptionals which are DateTime.Now and File.RealAllText. In the future we'll add wider support. I'll add DateTime.Today to our backlog.

Regards,
Elisha
Typemock Support
answered by Elisha (12k points)
0 votes
Thanks Elisha.
answered by Neil (27.7k points)
...