public class InputStreams
extends java.lang.Object
InputStreams.| Modifier and Type | Method and Description |
|---|---|
void |
assertEqualContent(AssertionInfo info,
java.io.InputStream actual,
java.io.InputStream expected)
Asserts that the given InputStreams have equal content.
|
static InputStreams |
instance()
Returns the singleton instance of this class.
|
public static InputStreams instance()
public void assertEqualContent(AssertionInfo info, java.io.InputStream actual, java.io.InputStream expected)
info - contains information about the assertion.actual - the "actual" InputStream.expected - the "expected" InputStream.java.lang.NullPointerException - if expected is null.java.lang.AssertionError - if actual is null.java.lang.AssertionError - if the given InputStreams do not have equal content.InputStreamsException - if an I/O error occurs.Copyright © 2007–2018. All rights reserved.