def METHOD_NAME(timeseries, units):
    b = Beaching(active_range, units, timeseries, name='test_beaching')
    assert b.name == 'test_beaching'
    assert b.units == units
    assert b.active_range[0] == active_range[0]
    assert b.timeseries[-1][0] == b.active_range[1]
    ts = np.asarray(timeseries, dtype=datetime_value_1d)
    assert all(b.timeseries['time'] == ts['time'])
    assert all(b.timeseries['value'] == ts['value'])