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
Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!
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 (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 (12k points)
0 votes
Thanks Elisha.
answered by (27.7k points)
...