@Test
public void testToNodeIdUsingRegistry() throws NetconfMessageBuilderException {

    when(m_schemaRegistry.getNamespaceURI("if")).thenReturn(IF_INTF_NS);
    ModelNodeId actualNodeId = AlarmUtil.toNodeIdUsingRegistry(DB_ID_WITH_INTF, m_schemaRegistry);
    assertEquals(INTF_MODEL_NODE_ID, actualNodeId);
}