Ale, music and enjoying life.
Posted on January 16, 2018 by admin
I have a loop in production code that has evolved into processing batches of records. I need to modify an existing unit test to accommodate mocking the same method call each time through the loop returning different results on each loop (as it would in production). read more
Category: Comps Tags: Mock, Moq, unit tests
Posted on May 17, 2017 by admin
Had an API controller under unit test which made use of the HttpMessageRequest which I needed to mock.How do I get a handle on this? read more
Category: Comps Tags: HttpMessageRequest, Mock, Moq, nunit, SQLException, unit testing
Posted on May 16, 2017 by admin
Was going down a rabbit hole trying to figure out how to check param value on a mocked method (pretty simple if truth be told). read more
Copyright © 2021 · All Rights Reserved · Wasting Time
Theme: Natural Lite by Organic Themes · RSS Feed
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.