hasParent

Returns a TestNodeMatcher that verifies if a TestNode has a parent TestNode that matches the given matcher.

If the TestNode has no parent (it is the root) then the returned TestNodeMatcher will never be matched.