doesNotHaveMatchingComponent

fun <T1, T2> doesNotHaveMatchingComponent(kClass: KClass<out Component>, vararg propsValuePairs: Pair<KProperty1<T2, T1>, T1>): LithoViewAssert

Asserts that the LithoView does not contain a Component with given props at any level of the hierarchy. This function uses DFS algorithm to go through the whole component tree

Parameters

kClass

class of a component

propsValuePairs

Pairs of props and their expected values