Dissecting Moq 4
About

Posts

  • Aug 20, 2021

    Resetting a mock

  • Jan 2, 2021

    setup.ReturnsAsync and friends

  • Dec 27, 2020

    default(MockBehavior) == MockBehavior.Default ?

  • Dec 27, 2020

    Capture and CaptureMatch

  • Dec 27, 2020

    Refactoring conditional setups

  • Dec 26, 2020

    MockSequence and mock.InSequence

  • Dec 26, 2020

    mock.SetReturnsDefault

subscribe via RSS

Dissecting Moq 4

  • Dissecting Moq 4
  • stakx

An experiment in reducing Moq 4 to a smaller set of core features by removing "convenience" features one after another, and documenting the process along the way.