tag:blogger.com,1999:blog-5359546512544809971.post5073918439932034037..comments2024-03-29T00:46:49.972-07:00Comments on Jeremy Bytes: Mocking Current Time with a Simple Time ProviderJeremyhttp://www.blogger.com/profile/06749690234470413216noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5359546512544809971.post-89724762880900496762016-12-21T08:04:30.098-08:002016-12-21T08:04:30.098-08:00Hi Scott. I still have this solution in place. As ...Hi Scott. I still have this solution in place. As noted in the article, there are some issues to consider, but that is true of whatever solution we use. For this project, it works just fine. If I run into issues, then I will consider using something a bit more complete, such as the solution that Mark Seemann shows on StackOverflow (as linked in the article).<br /><br />One change I did make is move the reset of the TimeProvider from the setup to the teardown in my tests. It doesn't really matter either way, but I like the idea of doing in the teardown since it is "leaving things the way you found them".Jeremyhttps://www.blogger.com/profile/06749690234470413216noreply@blogger.comtag:blogger.com,1999:blog-5359546512544809971.post-26359974140953500522016-12-20T22:07:09.990-08:002016-12-20T22:07:09.990-08:00Thanks, I found this very helpful. I am curious to...Thanks, I found this very helpful. I am curious to know if you have moved onto another solution since you posted this nearly 2 years ago.Scotthttps://www.blogger.com/profile/06609342379472313066noreply@blogger.com