def METHOD_NAME(self):
    data = numpy.arange(3 * 3 * 3 * 3)
    data.shape = 3, 3, 3, 3
    expectedResult = data
    widget = NumpyAxesSelector()
    widget.setAxisNames(["x", "y", "z", "boum"])
    widget.setData(data[0])
    result = widget.selectedData()
    self.assertIsNone(result)
    widget.setData(data)
    result = widget.selectedData()
    self.assertTrue(numpy.array_equal(result, expectedResult))