def METHOD_NAME(self):
    data = numpy.arange(3 * 3 * 3)
    widget = NumpyAxesSelector()
    widget.setData(data)
    widget.setData(None)
    result = widget.selectedData()
    self.assertIsNone(result)