public static class FileSink.FileSinkContentsMatcher extends org.hamcrest.DiagnosingMatcher<FileSink>
Instances are to be constructed using
org.springframework.xd.shell.command.fixtures.XDMatchers#hasContentsThat
.
Modifier and Type | Field and Description |
---|---|
protected org.hamcrest.Matcher<java.lang.String> |
matcher |
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>