def METHOD_NAME(self, cohort, factories, patch):
    model = patch("h.services.feature.models.Feature")
    model.all.return_value = [
        factories.Feature(name="foo"),
        factories.Feature(name="bar"),
        factories.Feature(name="on-for-everyone", everyone=True),
        factories.Feature(name="on-for-first-party", first_party=True),
        factories.Feature(name="on-for-staff", staff=True),
        factories.Feature(name="on-for-admins", admins=True),
        factories.Feature(name="on-for-cohort", cohorts=[cohort]),
    ]