containsExactlyComponents

fun containsExactlyComponents(vararg components: Component): TestCollectionAssert

Assert the components are exactly equivalent to the given list. Child parameters like id and isSticky are not compared.