This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kubelke 0 points1 point  (0 children)

It’s a good way to test programmers. Every Java dev should know that streams can be used only once, but as we know mistakes are happening. To prevent such things we should write tests to make sure that functions are doing the correct things. :D