def METHOD_NAME(self, cognite_client, new_schedule):
    update_schedule = TransformationScheduleUpdate(id=new_schedule.id).interval.set("5 * * * *").is_paused.set(True)
    updated_schedule = cognite_client.transformations.schedules.update(update_schedule)
    retrieved_schedule = cognite_client.transformations.schedules.retrieve(new_schedule.id)
    assert updated_schedule.interval == retrieved_schedule.interval == "5 * * * *"
    assert updated_schedule.is_paused is True
    assert retrieved_schedule.is_paused is True