Mock Stream Java

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