def METHOD_NAME(self):
    """
    Test that the time of VPP data can be specified.
    """
    self.copyfiles()
    self.create()
    var = 't*x**2'
    self._control._toggles[var].CheckBox.setCheckState(QtCore.Qt.Checked)
    self._control._toggles[var].clicked.emit()
    self.assertEqual(self._window.axes()[0].get_ylim(), (-45.0, 945.0))
    self.assertImage('testTime0.png')
    # Change the time
    self._control.plot(time=1)
    self.assertEqual(self._window.axes()[0].get_ylim(), (-5.0, 105.0))
    self.assertImage('testTime1.png')
    # Change to an invalid time, the control should be disabled and plot removed
    self._control.plot(time=2.5)
    self.assertFalse(self._control.isEnabled())
    self.assertImage('testEmpty.png')