Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • Successive Method Calls With MoQ

    One area where using MoQ is confusing is when mocking successive calls to the same method of an object. For example, I was writing some tests for legacy code where I needed to fake out multiple calls to a data reader. You remember data readers, don’t you? Here’s a snippet of the code I was testing. Ignore...
    Posted to What's New (Weblog) by Anonymous on 09-29-2009, 12:00 AM
    Filed under: TDD, Software Development, Unit Testing, MoQ
Page 1 of 1 (1 items)