public class InputStreams extends Object
InputStream
s.Modifier and Type | Method and Description |
---|---|
void |
assertEqualContent(AssertionInfo info,
InputStream actual,
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, InputStream actual, InputStream expected)
info
- contains information about the assertion.actual
- the "actual" InputStream.expected
- the "expected" InputStream.NullPointerException
- if expected
is null
.AssertionError
- if actual
is null
.AssertionError
- if the given InputStreams do not have equal content.InputStreamsException
- if an I/O error occurs.Copyright © 2013 AssertJ. All Rights Reserved.