TestCollectionAssert
class TestCollectionAssert(testCollection: TestCollection) : AbstractAssert<TestCollectionAssert, TestCollection>
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <ASSERT : AbstractAssert<*, *>> asInstanceOf(instanceOfAssertFactory: InstanceOfAssertFactory<*, ASSERT>): ASSERT
Link copied to clipboard
Link copied to clipboard
Assert the presence of equivalent components. Child parameters like id and isSticky are not compared.
Link copied to clipboard
Assert the components are exactly equivalent to the given list. Child parameters like id and isSticky are not compared.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert the absence of equivalent components. Child parameters like id andisSticky are not compared.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun doesNotHaveToString(expectedStringTemplate: String, vararg args: Any): TestCollectionAssert
Link copied to clipboard
open fun doesNotMatch(predicate: Predicate<in TestCollection>, predicateDescription: String): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert the number of items in the collection.
Link copied to clipboard
open override fun hasToString(expectedStringTemplate: String, vararg args: Any): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun <T : Any> isInstanceOfSatisfying(type: Class<T>, requirements: Consumer<T>): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun matches(predicate: Predicate<in TestCollection>, predicateDescription: String): TestCollectionAssert
Link copied to clipboard
Assert a condition on a child with a given id.
Assert a condition on a child at a given index.
Link copied to clipboard
Assert a condition on every item.
fun onChildren(matching: (TestCollectionItem) -> Boolean, condition: (List<TestCollectionItem>) -> Boolean): TestCollectionAssert
Assert a condition on all items filtered by the given predicate.
Link copied to clipboard
Assert a condition on the first child.
Link copied to clipboard
Assert a condition on the last child.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun usingComparator(customComparator: Comparator<in TestCollection>): TestCollectionAssert
open override fun usingComparator(customComparator: Comparator<in TestCollection>, customComparatorDescription: String): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
open override fun usingEquals(predicate: BiPredicate<in TestCollection, in TestCollection>): TestCollectionAssert
open override fun usingEquals(predicate: BiPredicate<in TestCollection, in TestCollection>, customEqualsDescription: String): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard