hasDirectMatchingComponentWithMatcher

fun <T2, T1> hasDirectMatchingComponentWithMatcher(kClass: KClass<out Component>, vararg propsMatcherPairs: Pair<KProperty1<T2, T1>, Matcher<T1>>): LithoViewAssert

Asserts that the LithoView contains a Component with props that matches given matcher at any level of the hierarchy

Parameters

kClass

class of a component

propsMatcherPairs

Pairs of props and their matchers