def METHOD_NAME(self):
    """
    Tests for when no peaks are found.
    """
    with pytest.warns(NoDetectionsWarning,
                      match='No local peaks were found'):
        tbl = find_peaks(IMAGE, 10000)
        assert tbl is None
    with pytest.warns(NoDetectionsWarning,
                      match='No local peaks were found'):
        tbl = find_peaks(IMAGE, 100000, centroid_func=centroid_com)
        assert tbl is None
    with pytest.warns(NoDetectionsWarning,
                      match='No local peaks were found'):
        tbl = find_peaks(IMAGE, 100000, wcs=FITSWCS)
        assert tbl is None
    with pytest.warns(NoDetectionsWarning,
                      match='No local peaks were found'):
        tbl = find_peaks(IMAGE, 100000, wcs=FITSWCS,
                         centroid_func=centroid_com)
        assert tbl is None