Ихничавый поток Java
when(mock.streamMethod()).thenAnswer(invocation -> Stream.of("A", "B"))
Agreeable Anaconda
when(mock.streamMethod()).thenAnswer(invocation -> Stream.of("A", "B"))