assertk.assertions / hasNotSameContentAs

hasNotSameContentAs

fun <ERROR CLASS><InputStream>.hasNotSameContentAs(expected: InputStream): <ERROR CLASS>

Platform and version requirements: JVM

Asserts that the actual stream has a different content as the expected stream. Both InputStreams will be closed by the assertion.

Parameters

expected - which content is compared to the actual one