public void Matches(string pattern, string path)
        {
            var glob = PathFilter.FromPrefix(pattern);

            Assert.That(glob.Matches(path));
        }
        public void GetPrefixSegments(string pattern, string[] expectedPrefix)
        {
            var glob = PathFilter.FromPrefix(pattern);

            Assert.That(glob.PrefixSegments, Is.EqualTo(expectedPrefix));
        }
        public void LeadingSlashIsAlwaysMatched(string pattern, string path)
        {
            var glob = PathFilter.FromPrefix(pattern);

            Assert.That(glob.Matches(path));
        }