-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
Milestone
Description
Hello, I want to co_return something from a mocked function. Something like:
// Instantiate a mock object.
Mock<SomeInterface> mock;
// Setup mock behavior.
When(Method(mock,foo)).CoReturn(1); // Method mock.foo will co_return 1 once.
But the CoReturn method does not exist. How can something like this be achieved?