| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Integer | featureValueOf(CharSequence
the target object actual)Implements abstract org. |
| public static Matcher | hasLength(int
the expected length of the string length)Creates a matcher of
assertThat("text", hasLength(4))
|
| public static Matcher | hasLength(Matcher<? super Integer>
the expected length of the string lengthMatcher)Creates a matcher of
assertThat("text", hasLength(lessThan(4)))
|
| CharSequenceLength | back to summary |
|---|---|
public CharSequenceLength(Matcher<? super Integer> lengthMatcher)
| |
| featureValueOf | back to summary |
|---|---|
| protected Integer featureValueOf(CharSequence actual) Implements abstract org. Doc from org. Implement this to extract the interesting feature.
| |
| hasLength | back to summary |
|---|---|
| public static Matcher Creates a matcher of
assertThat("text", hasLength(4))
| |
| hasLength | back to summary |
|---|---|
| public static Matcher Creates a matcher of
assertThat("text", hasLength(lessThan(4)))
| |