Description
In some of our tests we use SynchronizedQueue to append to the queue after creating a queue stream. SynchronizedQueue is deprecated and we should see if we can replace it. This is a bit tricky since the queue stream API is public, and while it doesn't depend on having a SynchronizedQueue as input (thankfully) it does require a Queue. We could possibly change the tests to not depend on the SynchronizedQueue or change the QueueStream to also work with Iterables.