hasText

public Unit hasText(String text)

Checks if the view has given text

Parameters

text

Text to be matched


public Unit hasText(@StringRes() Integer resId)

Checks if the view has given text

Parameters

resId

String resource to be matched


public Unit hasText(Matcher<String> matcher)

Checks if the view has text that matches given matcher