### Question:
DeviceManagerImpl implements DeviceManager { @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class}) public void updateConfigAlignmentState(String deviceName, String verdict) { m_deviceDao.updateDeviceAlignmentState(deviceName, verdict); } DeviceManagerImpl(DeviceDao deviceDao); void setDeviceDao(DeviceDao deviceDao); @Override void deviceAdded(String deviceName); @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class}) Device getDevice(String deviceName); @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class}) List<Device> getAllDevices(); @Override void deviceRemoved(String deviceName); @Override void devicePropertyChanged(String deviceName); @Override @Transactional(value = Transactional.TxType.REQUIRED, rollbackOn = {RuntimeException.class}) void updateConfigAlignmentState(String deviceName, String verdict); @Override void removeDeviceStateProvider(DeviceStateProvider stateProvider); @Override void addDeviceStateProvider(DeviceStateProvider stateProvider);  }### Answer:
@Test public void testupdateConfigAlignmentState() { m_dm.updateConfigAlignmentState("deviceA", "Aligned"); verify(m_deviceDao).updateDeviceAlignmentState("deviceA", "Aligned"); }