Uses of Class
org.fest.assertions.api.StringAssert
Packages that use StringAssert
-
Uses of StringAssert in org.fest.assertions.api
Methods in org.fest.assertions.api that return StringAssertModifier and TypeMethodDescriptionstatic StringAssertAssertions.assertThat(String actual) Creates a new instance of.StringAssertVerifies that the actualStringcontains the given sequence.StringAssert.containsIgnoringCase(String sequence) Verifies that the actualStringcontains the given sequence, ignoring case considerations.StringAssert.containsOnlyOnce(String sequence) Verifies that the actualStringcontains only once the given sequence.StringAssert.doesNotContain(String sequence) Verifies that the actualStringdoes not contain the given sequence.StringAssert.doesNotMatch(String regex) Verifies that the actualStringdoes not match the given regular expression.StringAssert.doesNotMatch(Pattern pattern) Verifies that the actualStringdoes not match the given regular expression.Verifies that the actualStringends with the given suffix.StringAssert.hasSameSizeAs(Iterable<?> other) Verifies that the actual group has the same size as givenIterable.StringAssert.hasSameSizeAs(Object[] other) Verifies that the actual group has the same size as given array.StringAssert.hasSize(int expected) Verifies that the number of values in the actual group is equal to the given one.StringAssert.isEqualToIgnoringCase(String expected) Verifies that the actualStringis equal to the given one, ignoring case considerations.StringAssert.isNotEmpty()Verifies that the actual group of values is not empty.Verifies that the actualStringmatches the given regular expression.Verifies that the actualStringmatches the given regular expression.StringAssert.startsWith(String prefix) Verifies that the actualStringstarts with the given prefix.StringAssert.usingComparator(Comparator<? super String> customComparator) StringAssert.usingDefaultComparator()StringAssert.usingDefaultElementComparator()Revert to standard comparison for incoming assertion group element checks.StringAssert.usingElementComparator(Comparator<? super String> customComparator) Use given custom comparator instead of relying on actual type Aequalsmethod to compare group elements for incoming assertion checks.