public class FluentListAssert extends org.assertj.core.api.AbstractAssert<FluentListAssert,FluentList>
| Constructor and Description |
|---|
FluentListAssert(FluentList<?> actual)
Creates a new element list assertion object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
failWithMessage(String errorMessage,
Object... arguments) |
FluentListAssert |
hasClass(String classToFind)
check if at least one element of the FluentList contains the text
|
FluentListAssert |
hasId(String idToFind)
check if an element of the FluentList has the id
|
FluentListAssert |
hasNotText(String textToFind)
check if at no element of the FluentList contains the text
|
FluentListSizeBuilder |
hasSize()
Check the list size
|
FluentListAssert |
hasSize(int expectedSize)
Check the list size
|
FluentListAssert |
hasText(String textToFind)
check if at least one element of the FluentList contains the text
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic FluentListAssert(FluentList<?> actual)
actual - actual element listpublic FluentListAssert hasText(String textToFind)
textToFind - text to findpublic FluentListAssert hasNotText(String textToFind)
textToFind - text to findpublic FluentListAssert hasSize(int expectedSize)
expectedSize - expected sizepublic FluentListSizeBuilder hasSize()
public FluentListAssert hasId(String idToFind)
idToFind - id to findpublic FluentListAssert hasClass(String classToFind)
classToFind - class to findprotected void failWithMessage(String errorMessage, Object... arguments)
failWithMessage in class org.assertj.core.api.AbstractAssert<FluentListAssert,FluentList>Copyright © 2016 FluentLenium. All Rights Reserved.