Ignore ReturnValueIgnored in mock expectations
Open
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
Mocked expectations pretty much always look like this:
mockery.checking(new Expectations() {{
oneOf(supplier).get(); will(returnValue(thing));
}});
In this situation, you get a `ReturnValueIgnored` error on the call to `get()`, but IMO this is more like an exotic way to implement the method, rather than an actual call to it.
Contributor guide
Assessment
This issue has not been assessed yet.