def METHOD_NAME(self):
    glob_group = GlobGroup("foo.**.baz")
    self.assertMatchesGlob(
        glob_group, ["foo.baz", "foo.bar.baz", "foo.bar1.bar2.baz"]
    )
    self.assertNotMatchesGlob(glob_group, ["foobaz", "foo.bar.baz.z"])