This should be collapsed into one assertion and the implementation of an `equals()` method on the `StreamingOutput` class.