hasSameContentAs
Asserts that the actual stream has the same content as the expected stream. Both InputStreams will be closed by the assertion.
Parameters
expected
which content is compared to the actual one
Asserts that the actual stream has the same content as the expected stream. Both InputStreams will be closed by the assertion.
which content is compared to the actual one