Skip to content
Advertisement

Tag: optional-chaining

Mockito bug when testing Optional.map()? [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question Here is my implementation: And the test: Test failed the result below: Never wanted

Advertisement