def METHOD_NAME(self):
    wos = UtilsTest.getimage("WOS.h5")
    detector = detectors.NexusDetector(wos)
    widget = DetectorSelectorDrop()
    widget.setDetector(detector)
    newDetector = widget.detector()
    self.assertEqual(detector, newDetector)