def METHOD_NAME(cls):
    def _feature_fixture(self: object) -> Generator[None, None, None]:
        with Feature(feature_flag):
            yield
    name = f"{_feature_fixture.__name__}[{feature_flag}]"
    _feature_fixture.__name__ = name
    fixture = pytest.fixture(scope="class", autouse=True)(_feature_fixture)
    setattr(cls, name, fixture)
    return cls