public void setUp() throws Exception {
   originalUsbDevice = FindProgrammableDevice.getInstance().getProgrammableDevice();
   usbDevice = new UsbUtil.SynchronizedUsbDevice(originalUsbDevice);
   assertNotNull("Device required for test not found", usbDevice);
   DCPIRPTestErrorConditions = new DefaultControlPipeTestErrorConditions(usbDevice);
   super.setUp();
 }
 public void setUp() {
   usbDevice = FindProgrammableDevice.getInstance().getTopologyTestDevice();
   assertNotNull("Device required for test not found", usbDevice);
   usbDevice.addUsbDeviceListener(deviceListener);
 }