public class InputstreamKt
| Modifier and Type | Method and Description |
|---|---|
static void |
hasNotSameContentAs(Assert<? extends java.io.InputStream> $receiver,
java.io.InputStream expected)
Asserts that the actual stream has a different content as the expected stream.
Both InputStreams will be closed by the assertion.
|
static void |
hasSameContentAs(Assert<? extends java.io.InputStream> $receiver,
java.io.InputStream expected)
Asserts that the actual stream has the same content as the expected stream.
Both InputStreams will be closed by the assertion.
|
public static void hasSameContentAs(Assert<? extends java.io.InputStream> $receiver, java.io.InputStream expected)
Asserts that the actual stream has the same content as the expected stream. Both InputStreams will be closed by the assertion.
expected - which content is compared to the actual onepublic static void hasNotSameContentAs(Assert<? extends java.io.InputStream> $receiver, java.io.InputStream expected)
Asserts that the actual stream has a different content as the expected stream. Both InputStreams will be closed by the assertion.
expected - which content is compared to the actual one