fun <ERROR CLASS><InputStream>.hasSameContentAs(expected: InputStream): <ERROR CLASS>
Platform and version requirements: JVM
Asserts that the actual stream has the same content as the expected stream. Both InputStreams will be closed by the assertion.