| Modifier and Type | Field and Description |
|---|---|
| private static final IsBlankString | |
| private static final Matcher | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Matcher | blankOrNullString()
Creates a matcher of |
| public static Matcher | blankString()
Creates a matcher of |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public boolean | matchesSafely(String item)
Implements abstract org. |
| BLANK_INSTANCE | back to summary |
|---|---|
| private static final IsBlankString BLANK_INSTANCE | |
| NULL_OR_BLANK_INSTANCE | back to summary |
|---|---|
private static final Matcher<String> NULL_OR_BLANK_INSTANCE
| |
| REGEX_WHITESPACE | back to summary |
|---|---|
| private static final Pattern REGEX_WHITESPACE | |
| IsBlankString | back to summary |
|---|---|
| private IsBlankString() | |
| blankOrNullString | back to summary |
|---|---|
| public static Matcher Creates a matcher of assertThat(((String)null), is(blankOrNullString())) | |
| blankString | back to summary |
|---|---|
| public static Matcher Creates a matcher of assertThat(" ", is(blankString()))
| |
| describeTo | back to summary |
|---|---|
| public void describeTo(Description description) Implements org. Doc from org. Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
| |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(String item) Implements abstract org. Doc from org. Subclasses should implement this. The item will already have been checked for the specific type and will never be null.
| |