hasTextMatchingPredicate

open fun hasTextMatchingPredicate(predicate: Predicate<String>): Predicate<View>

Returns a predicate that returns true if the applied on view's text is equal to the given text. substring.

Return

the predicate

Parameters

predicate

the predicate with which to test the text