public static final class FileSink.FileSinkContentsMatcher extends org.hamcrest.DiagnosingMatcher<FileSink>
Instances are to be constructed using
org.springframework.xd.shell.command.fixtures.XDMatchers#hasContentsThat
.
Constructor and Description |
---|
FileSink.FileSinkContentsMatcher(org.hamcrest.Matcher<java.lang.String> matcher) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matches(java.lang.Object item,
org.hamcrest.Description mismatchDescription) |
public FileSink.FileSinkContentsMatcher(org.hamcrest.Matcher<java.lang.String> matcher)
public void describeTo(org.hamcrest.Description description)
protected boolean matches(java.lang.Object item, org.hamcrest.Description mismatchDescription)
matches
in class org.hamcrest.DiagnosingMatcher<FileSink>