@Test
public void testOnuStateChangeNotificationWithDetectedRegIdAbsent() throws NetconfMessageBuilderException {

    String onuNotificationStr = "<notification xmlns=\"urn:ietf:params:xml:ns:netconf:notification:1.0\">\n" +
            "  <eventTime>2019-07-25T05:53:36+00:00</eventTime>\n" +
            "  <bbf-xpon-onu-states:onu-state-change xmlns:bbf-xpon-onu-states=\"urn:bbf:yang:bbf-xpon-onu-states\">\n" +
            "    <bbf-xpon-onu-states:detected-serial-number>ABCD0P5S6T7Y</bbf-xpon-onu-states:detected-serial-number>\n" +
            "    <bbf-xpon-onu-states:channel-termination-ref>chterm</bbf-xpon-onu-states:channel-termination-ref>\n" +
            "    <bbf-xpon-onu-states:onu-state-last-change>2019-07-25T05:51:36+00:00</bbf-xpon-onu-states:onu-state-last-change>\n" +
            "    <bbf-xpon-onu-states:onu-state xmlns:bbf-xpon-onu-types=\"urn:bbf:yang:bbf-xpon-more-types\">bbf-xpon-onu-types:onu-present</bbf-xpon-onu-states:onu-state>\n" +
            "    <bbf-xpon-onu-states:onu-id>25</bbf-xpon-onu-states:onu-id>\n" +
            "  </bbf-xpon-onu-states:onu-state-change>\n" +
            "</notification>\n";
    m_notification = new NetconfNotification(DocumentUtils.stringToDocument(onuNotificationStr));
    when(m_deviceInterface.normalizeNotification(m_notification)).thenReturn(m_notification);
    m_deviceNotificationListener.notificationReceived(m_notification);
    verifyNotification("DPU1-SLOT-PORT");
}