@Test
public void testHandleNotificationNewDevice() {

    Notification notification = mock(Notification.class);
    AdapterContext adapterContext = mock(AdapterContext.class);
    DeviceInterface deviceInterface = mock(DeviceInterface.class);
    when(m_adapterManager.getAdapterContext(any(DeviceAdapterId.class))).thenReturn(adapterContext);
    when(adapterContext.getDeviceInterface()).thenReturn(deviceInterface);
    m_nonNetconfDeviceAdapter.handleNotification(ip_address, port, notification);
    verify(notification).notificationToString();
}