def METHOD_NAME(mocker):
    mock_redis_get = mocker.patch("app.extensions.RedisClient.get", return_value=None)
    mock_redis_set = mocker.patch("app.extensions.RedisClient.set")
    mock_api_get = mocker.patch(
        "app.notify_client.NotifyAdminAPIClient.get",
        return_value={"template_folders": {"a": "b"}},
    )
    some_service_id = uuid.uuid4()
    expected_url = "/service/{}/template-folder".format(some_service_id)
    redis_key = "service-{}-template-folders".format(some_service_id)
    client = TemplateFolderAPIClient()
    ret = client.get_template_folders(some_service_id)
    assert ret == {"a": "b"}
    mock_redis_get.assert_called_once_with(redis_key)
    mock_api_get.assert_called_once_with(expected_url)
    mock_redis_set.assert_called_once_with(redis_key, '{"a": "b"}', ex=604800)