public class StringAssert extends AbstractCharSequenceAssert<StringAssert,String>
String
s.
To create a new instance of this class, invoke
.
Assertions.assertThat(String)
AbstractCharSequenceAssert.usingComparator(java.util.Comparator)
, one provide a
String comparator instead of a CharSequence
comparator.actual, info, myself
Modifier | Constructor and Description |
---|---|
protected |
StringAssert(String actual) |
contains, containsIgnoringCase, containsOnlyOnce, containsSequence, doesNotContain, doesNotMatch, doesNotMatch, endsWith, hasLineCount, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, inHexadecimal, inUnicode, isEmpty, isEqualToIgnoringCase, isNotEmpty, isNullOrEmpty, isXmlEqualTo, isXmlEqualToContentOf, matches, matches, startsWith, usingComparator, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, withThreadDumpOnError
protected StringAssert(String actual)
Copyright © 2013-2015 AssertJ. All Rights Reserved.