def METHOD_NAME():
    sorting = NumpySorting.from_unit_dict({}, 30000)
    assert len(sorting.unit_ids) == 0
    with pytest.warns(DeprecationWarning):
        spikes = sorting.get_all_spike_trains()
        assert len(spikes) == 1
        assert len(spikes[0][0]) == 0
        assert len(spikes[0][1]) == 0
    spikes = sorting.to_spike_vector()
    assert spikes.shape == (0,)