SubComponentExtractor

open class SubComponentExtractor : Extractor<F, T>

Deprecated

An extractor to be used with assertThat.

In most cases you will want to use the subComponentWith combinator.

Deprecated

Use ) instead.

Functions

Link copied to clipboard
open fun extract(input: Component): List<InspectableComponent>
Link copied to clipboard
open fun numOfSubComponents(c: ComponentContext, matcher: Matcher<Integer>): Condition<out Any>
This combinator allows you to make an assertion on the number of sub-components directly spun up by the component under test.
Link copied to clipboard
open fun subComponents(c: ComponentContext): SubComponentExtractor
Link copied to clipboard
open fun subComponentWith(c: ComponentContext, inner: Condition<InspectableComponent>): Condition<out Any>
This combinator allows you to make an assertion that applies to at least one sub-component directly spun up by the component under test.