def METHOD_NAME(self):
    data = Table.from_numpy(None, [[1, 2, 3, 1, 1, 1]])
    i = Integrate(methods=Integrate.PeakXBaseline, limits=[[0, 5]])(data)
    self.assertEqual(i[0][0], 2)
    np.testing.assert_equal(i.domain[0].compute_value.baseline(data)[1],
                            [[1, 1, 1, 1, 1, 1]])