def METHOD_NAME(self):
    """
    Test that delayed loading and removal of files works.
    """
    self.create()
    # Plot should be empty and the message should be visible.
    self.assertImage('testEmpty.png')
    self.assertTrue(self._control.NoDataMessage.isVisible())
    # Load data
    self.copyfiles()
    self._data.load()
    self.assertFalse(self._control.NoDataMessage.isVisible())
    # Plot something
    var = 'air_temp_set_1'
    self._control._toggles[var].CheckBox.setCheckState(QtCore.Qt.Checked)
    self._control._toggles[var].clicked.emit()
    self.assertImage('testDelayLoadPlot.png')
    # Remove data
    os.remove(self._filename)
    self._data.load()
    self.assertTrue(self._control.NoDataMessage.isVisible())
    self.assertImage('testEmpty.png')
    # Re-load data
    self.copyfiles()
    self._data.load()
    self.assertFalse(self._control.NoDataMessage.isVisible())
    self._control._toggles[var].CheckBox.setCheckState(QtCore.Qt.Checked)
    self._control._toggles[var].clicked.emit()
    self.assertImage('testDelayLoadPlot2.png', allowed=0.98) # The line color/style is different because the cycle keeps going