withParent

public final Unit withParent(Function1<ViewBuilder, Unit> function)

Matches the view which has parent with given matcher

Parameters

function

ViewBuilder which will result in parent matcher