@Test public void testInitRegisters() { verifyZeroInteractions(m_deviceManager); m_listener.init(); verify(m_deviceManager).addDeviceStateProvider(m_listener); }
public void init() { m_deviceManager.addDeviceStateProvider(this); }
DeviceCRUDListener implements DeviceStateProvider { public void init() { m_deviceManager.addDeviceStateProvider(this); } }
DeviceCRUDListener implements DeviceStateProvider { public void init() { m_deviceManager.addDeviceStateProvider(this); } DeviceCRUDListener(DeviceManager deviceManager, PmaRegistryImpl pmaRegistry); }
DeviceCRUDListener implements DeviceStateProvider { public void init() { m_deviceManager.addDeviceStateProvider(this); } DeviceCRUDListener(DeviceManager deviceManager, PmaRegistryImpl pmaRegistry); void init(); void destroy(); @Override void deviceAdded(String deviceName); @Override void deviceRemoved(String deviceName); }
DeviceCRUDListener implements DeviceStateProvider { public void init() { m_deviceManager.addDeviceStateProvider(this); } DeviceCRUDListener(DeviceManager deviceManager, PmaRegistryImpl pmaRegistry); void init(); void destroy(); @Override void deviceAdded(String deviceName); @Override void deviceRemoved(String deviceName);  }