withResourceName

public final Unit withResourceName(String name)

Matches the view with given resource name

Parameters

name

Resource name to match


public final Unit withResourceName(Matcher<String> matcher)

Matches the view by resource name with given matcher

Parameters

matcher

Matcher for resource name