Closed soranoba closed 4 years ago
You should be able to add a OCMStub call after the OCMExpect (or N calls to expect), so that additional calls won't throw exceptions.
@carllindberg I have questioned the exception that is thrown observerMock.
If we don't use observerMock and multiple calls to the stub and expect, exception won't throw. However, in the way we need to do to alternately the OCMExpect and the method call. This is a difficult when it use async.
I want to do the following:
This way that multiple times run OCMVerifyWithDelay is not correctly work.
On other hand, this way isn't correctly work. Here exception is thrown.
I as a solution, I hope added the option that remove the exception.