hasAncestor

Returns a TestNodeMatcher that will match TestNodes which have an ancestor that match with the given matcher.

We consider an ancestor to be any TestNode in the direct line of parents. This is the direct parent, the parent of the parent, and so on...