public abstract class TextMatcherEnvelope
extends org.hamcrest.TypeSafeDiagnosingMatcher<org.cactoos.Text>
TypeSafeDiagnosingMatcher envelope.| Constructor and Description |
|---|
TextMatcherEnvelope(org.hamcrest.Matcher<org.cactoos.Text> mtchr,
String expected)
Ctor.
|
TextMatcherEnvelope(org.hamcrest.Matcher<org.cactoos.Text> mtchr,
String expected,
String actual)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description desc) |
protected boolean |
matchesSafely(org.cactoos.Text text,
org.hamcrest.Description desc) |
public TextMatcherEnvelope(org.hamcrest.Matcher<org.cactoos.Text> mtchr,
String expected)
mtchr - The matcher to test.expected - The description of the matcher's expected text.Copyright © 2017–2019 jcabi.com. All rights reserved.