private boolean isMatchingRequirementFor(TestOutcome testOutcome, Requirement requirement) { return (fullPathOf(requirement) .matchesOrIsADescendantOf(normalizedPath(testOutcome.getPathId()))) || (fullPathOf(requirement) .matchesOrIsADescendantOf(normalizedPath(testOutcome.getPath()))); }