def METHOD_NAME(cognite_client, transformation):
    schedule = TransformationSchedule(id=transformation.id, interval="0 * * * *")
    tsc = cognite_client.transformations.schedules.create(schedule)
    yield tsc
    cognite_client.transformations.schedules.delete(id=tsc.id)
    assert cognite_client.transformations.schedules.retrieve(tsc.id) is None
    assert tsc.id == transformation.id