public class InputStreams extends Object
InputStream
s.Modifier and Type | Method and Description |
---|---|
void |
assertSameContentAs(AssertionInfo info,
InputStream actual,
InputStream expected)
Asserts that the given InputStreams have same content.
|
static InputStreams |
instance()
Returns the singleton instance of this class.
|
public static InputStreams instance()
public void assertSameContentAs(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 same content.InputStreamsException
- if an I/O error occurs.Copyright © 2014–2016 AssertJ. All rights reserved.