org.fest.assertions.fluentlenium.custom
Class FluentListAssert

java.lang.Object
  extended by org.fest.assertions.Assert
      extended by org.fest.assertions.GenericAssert<FluentListAssert,FluentList>
          extended by org.fest.assertions.fluentlenium.custom.FluentListAssert

public class FluentListAssert
extends org.fest.assertions.GenericAssert<FluentListAssert,FluentList>


Field Summary
 
Fields inherited from class org.fest.assertions.GenericAssert
actual, myself
 
Constructor Summary
FluentListAssert(FluentList<?> actual)
           
 
Method Summary
 FluentListAssert hasNotText(String textToFind)
          check if at no element of the FluentList contains the text
 FluentListSizeBuilder hasSize()
           
 FluentListAssert hasSize(int expectedSize)
           
 FluentListAssert hasText(String textToFind)
          check if at least one element of the FluentList contains the text
 
Methods inherited from class org.fest.assertions.GenericAssert
as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfies
 
Methods inherited from class org.fest.assertions.Assert
customErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWith
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FluentListAssert

public FluentListAssert(FluentList<?> actual)
Method Detail

hasText

public FluentListAssert hasText(String textToFind)
check if at least one element of the FluentList contains the text

Returns:

hasNotText

public FluentListAssert hasNotText(String textToFind)
check if at no element of the FluentList contains the text

Returns:

hasSize

public FluentListAssert hasSize(int expectedSize)

hasSize

public FluentListSizeBuilder hasSize()


Copyright © 2012 AConsulting. All Rights Reserved.