Modifier and Type | Method and Description |
---|---|
static StringAssert |
Assertions.assertThat(String actual)
Creates a new instance of
. |
StringAssert |
StringAssert.contains(String expected)
Verifies that the actual
String contains the given one. |
StringAssert |
StringAssert.containsIgnoringCase(String text)
Verifies that the actual
String contains the given text regardless of the case. |
StringAssert |
StringAssert.doesNotContain(String text)
Verifies that the actual
String does not contain the given text. |
StringAssert |
StringAssert.doesNotMatch(String regex)
Verifies that the actual
String does not match the given one. |
StringAssert |
StringAssert.endsWith(String expected)
Verifies that the actual
String ends with the given one. |
StringAssert |
StringAssert.excludes(String s)
Verifies that the actual
String does not contains the given one. |
StringAssert |
StringAssert.isEqualToIgnoringCase(String expected)
Verifies that the actual
String is equal to the given one ignoring case. |
StringAssert |
StringAssert.matches(String regex)
Verifies that the actual
String matches the given one. |
StringAssert |
StringAssert.startsWith(String expected)
Verifies that the actual
String starts with the given one. |
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.