Now that we have introduced Streams API and its various functions, let's see how we can use them in our tests.