def METHOD_NAME():
    E = np.arange(100)
    C = np.ones_like(E)
    # limits out of order
    assert_raises(ValueError, integrate_ROI, E, C, [32, 1], [2, 10])
    # bottom out of range
    assert_raises(ValueError, integrate_ROI, E, C, -1, 2)
    # top out of range
    assert_raises(ValueError, integrate_ROI, E, C, 2, 110)
    # different length limits
    assert_raises(
        ValueError,
        integrate_ROI,
        E,
        C,
        [32, 1],
        [2, 10, 32],
    )
    # independent variable (x_value_array) not increasing monotonically
    assert_raises(ValueError, integrate_ROI, C, C, 2, 10)
    # outliers present in x_value_array which violate monotonic reqirement
    E[2] = 50
    E[50] = 2
    assert_raises(ValueError, integrate_ROI, E, C, 2, 60)