def METHOD_NAME():
    ta = TimedArray(np.arange(10), dt=0.1 * ms)
    G = NeuronGroup(1, "value = ta(t) + 1: 1", dt=0.1 * ms)
    mon = StateMonitor(G, "value", record=True, dt=0.1 * ms)
    run(1.1 * ms)
    assert_allclose(mon[0].value_, np.clip(np.arange(len(mon[0].t)), 0, 9) + 1)