I want just ot verify that a certain method call has been invoked zero or one times.
I see that there is MultipleTimes() and InAnyOrder() but I could find anything like zero or one times, is there such a thing?
mocker = mox.Mox()
mymock = mocker.CreateMock(MyClass)
Is there something in mox that can be used for that? Any other approach?