public void Match(string testSample, bool expectation) { var pathSegment = new ParentPathSegment(); Assert.Equal(expectation, pathSegment.Match(testSample)); }