def METHOD_NAME(self) -> None:
    gf = GroupFile("root:x:0:td-agent\nbin:x:1:a,b\n\ndaemon:x:2:\n\n")
    self.assertEqual(
        {
            ProvidesGroup("root"),
            ProvidesGroup("bin"),
            ProvidesGroup("daemon"),
        },
        set(gf.provides()),
    )