Constructor and Description |
---|
TeeInputHasResult(String expected,
File file)
Ctor.
|
TeeInputHasResult(String expected,
Text copied)
Ctor.
|
TeeInputHasResult(Text expected,
Text copied)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(TeeInput item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(TeeInput item) |
public TeeInputHasResult(String expected, File file)
expected
- Value that is expected to be returned from the TeeInputfile
- Value that is expected to be copied into the output of
the TeeInputpublic TeeInputHasResult(String expected, Text copied)
expected
- Value that is expected to be returned from the TeeInputcopied
- Value that is expected to be copied into the output of
the TeeInputCopyright © 2017–2018 Cactoos. All rights reserved.