def METHOD_NAME(self):
    """Test with mask."""
    mask = np.zeros(PEAKDATA.shape, dtype=bool)
    mask[0, 0] = True
    tbl = find_peaks(PEAKDATA, 0.1, box_size=3, mask=mask)
    assert len(tbl) == 1
    assert_array_equal(tbl['x_peak'], PEAKREF1[1, 0])
    assert_array_equal(tbl['y_peak'], PEAKREF1[1, 1])
    assert_array_equal(tbl['peak_value'], 1.0)