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
Link copied to clipboard
open fun numOfSubComponents(c: ComponentContext, matcher: Matcher<Integer>): Condition<in Component>
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
Link copied to clipboard
open fun subComponentWith(c: ComponentContext, inner: Condition<InspectableComponent>): Condition<in Component>
This combinator allows you to make an assertion that applies to at least one sub-component directly spun up by the component under test.