def METHOD_NAME(self):
    TestCaseQt.METHOD_NAME(self)
    self.urls = {}
    self._raw_data = {}
    self._folder = tempfile.mkdtemp()
    self._n_urls = 10
    file_name = os.path.join(self._folder, 'test_inage_stack_file.h5')
    with h5py.File(file_name, 'w') as h5f:
        for i in range(self._n_urls):
            width = numpy.random.randint(10, 40)
            height = numpy.random.randint(10, 40)
            raw_data = numpy.random.random((width, height))
            self._raw_data[i] = raw_data
            h5f[str(i)] = raw_data
            self.urls[i] = DataUrl(file_path=file_name,
                                   data_path=str(i),
                                   scheme='silx')
    self.widget = ImageStack()
    self.urlLoadedListener = SignalListener()
    self.widget.sigLoaded.connect(self.urlLoadedListener)
    self.currentUrlChangedListener = SignalListener()
    self.widget.sigCurrentUrlChanged.connect(self.currentUrlChangedListener)