def METHOD_NAME(self):
    """Test that selection using the url table and the slider are working
    """
    self.widget.show()
    self.assertEqual(self.widget.getCurrentUrl(), None)
    self.assertEqual(self.widget.getCurrentUrlIndex(), None)
    self.widget.setUrls(list(self.urls.values()))
    # wait for image to be loaded
    self._waitUntilUrlLoaded()
    self.assertEqual(self.widget.getCurrentUrl(), self.urls[0])
    # make sure all image are loaded
    self.assertEqual(self.urlLoadedListener.callCount(), self._n_urls)
    numpy.testing.assert_array_equal(
        self.widget.getPlotWidget().getActiveImage(just_legend=False).getData(),
        self._raw_data[0])
    self.assertEqual(self.widget._slider.value(), 0)
    self.widget._urlsTable.setUrl(self.urls[4])
    numpy.testing.assert_array_equal(
        self.widget.getPlotWidget().getActiveImage(just_legend=False).getData(),
        self._raw_data[4])
    self.assertEqual(self.widget._slider.value(), 4)
    self.assertEqual(self.widget.getCurrentUrl(), self.urls[4])
    self.assertEqual(self.widget.getCurrentUrlIndex(), 4)
    self.widget._slider.setUrlIndex(6)
    numpy.testing.assert_array_equal(
        self.widget.getPlotWidget().getActiveImage(just_legend=False).getData(),
        self._raw_data[6])
    self.assertEqual(self.widget._urlsTable.currentItem().text(),
                     self.urls[6].path())