| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | featureValueOf(T
the target object actual)Implements abstract org. |
| public static <T> Matcher | hasToString(Matcher<? super String>
the matcher used to verify the toString result toStringMatcher)Creates a matcher that matches any examined object whose |
| public static <T> Matcher | hasToString(String
the expected toString result expectedToString)Creates a matcher that matches any examined object whose |
| HasToString | back to summary |
|---|---|
| public HasToString(Matcher<? super String> toStringMatcher) | |
| featureValueOf | back to summary |
|---|---|
| protected String featureValueOf(T actual) Implements abstract org. Doc from org. Implement this to extract the interesting feature. | |
| hasToString | back to summary |
|---|---|
| public static <T> Matcher Creates a matcher that matches any examined object whose For example: assertThat(true, hasToString(equalTo("TRUE")))
| |
| hasToString | back to summary |
|---|---|
| public static <T> Matcher Creates a matcher that matches any examined object whose For example: assertThat(true, hasToString("TRUE"))
| |