Java Stream Mock
when(mock.streamMethod()).thenAnswer(invocation -> Stream.of("A", "B"))
Agreeable Anaconda
when(mock.streamMethod()).thenAnswer(invocation -> Stream.of("A", "B"))