static StringAssert |
Assertions.assertThat(java.lang.String actual) |
|
StringAssert |
StringAssert.contains(java.lang.String sequence) |
Verifies that the actual String contains the given sequence.
|
StringAssert |
StringAssert.containsIgnoringCase(java.lang.String sequence) |
Verifies that the actual String contains the given sequence, ignoring case considerations.
|
StringAssert |
StringAssert.containsOnlyOnce(java.lang.String sequence) |
Verifies that the actual String contains only once the given sequence.
|
StringAssert |
StringAssert.doesNotContain(java.lang.String sequence) |
Verifies that the actual String does not contain the given sequence.
|
StringAssert |
StringAssert.doesNotMatch(java.lang.String regex) |
Verifies that the actual String does not match the given regular expression.
|
StringAssert |
StringAssert.doesNotMatch(java.util.regex.Pattern pattern) |
Verifies that the actual String does not match the given regular expression.
|
StringAssert |
StringAssert.endsWith(java.lang.String suffix) |
Verifies that the actual String ends with the given suffix.
|
StringAssert |
StringAssert.hasSameSizeAs(java.lang.Iterable<?> other) |
Verifies that the actual group has the same size as given Iterable .
|
StringAssert |
StringAssert.hasSameSizeAs(java.lang.Object[] other) |
Verifies that the actual group has the same size as given array.
|
StringAssert |
StringAssert.hasSize(int expected) |
Verifies that the number of values in the actual group is equal to the given one.
|
StringAssert |
StringAssert.isEqualToIgnoringCase(java.lang.String expected) |
Verifies that the actual String is equal to the given one, ignoring case considerations.
|
StringAssert |
StringAssert.isNotEmpty() |
Verifies that the actual group of values is not empty.
|
StringAssert |
StringAssert.matches(java.lang.String regex) |
Verifies that the actual String matches the given regular expression.
|
StringAssert |
StringAssert.matches(java.util.regex.Pattern pattern) |
Verifies that the actual String matches the given regular expression.
|
StringAssert |
StringAssert.startsWith(java.lang.String prefix) |
Verifies that the actual String starts with the given prefix.
|
StringAssert |
StringAssert.usingComparator(java.util.Comparator<? super java.lang.String> customComparator) |
|
StringAssert |
StringAssert.usingDefaultComparator() |
|
StringAssert |
StringAssert.usingDefaultElementComparator() |
Revert to standard comparison for incoming assertion group element checks.
|
StringAssert |
StringAssert.usingElementComparator(java.util.Comparator<? super java.lang.String> customComparator) |
Use given custom comparator instead of relying on actual type A equals method to compare group elements for
incoming assertion checks.
|