### Question:
DBDeviceManager extends DBManager<Device> implements
        DeviceManager { @Override public final Set<Device> getDeviceList() throws DeviceManagerException { LOGGER.debug("getting device list"); try { final List<Device> devices = super.getList(Device.class); return new HashSet<>(devices); } catch (DBManagerException e) { throw new DeviceManagerException(e); } } DBDeviceManager(final SessionFactory sessionFactory); @Override final Device saveDevice(final Device device); @Override final void updateDevice(final Device device); @Override final void updateDeviceList(final Set<Device> deviceList); @Override final Set<Device> getDeviceList(); @Override final List<String> getDeviceNameList(); @Override final FilteredRecordsList<Device> getOrderedDeviceList(
            final String columnToOrder, final boolean ascending, final int firstResult,
            final int maxResults, final String search); @Override final Device getDevice(final String name); @Override final List<Device> getDefaultDevices(); @Override final boolean deleteDevice(final String name);  }### Answer:
@Test public void testGetDeviceSetEmpty() { LOGGER.debug("testGetDeviceSetEmpty test started"); final DeviceManager mgr = new DBDeviceManager(sessionFactory); final Set<Device> devicesList = new HashSet<>(); final Set<Device> devices = mgr.getDeviceList(); Assert.assertEquals(devices, devicesList); }