@Test
public void testBBFAlarmNotification() throws Exception {

    Element expectedAlarmNotificationElement = loadAsXml(EXPECTED_IETF_ALARM_NOTIFICATION);
    long timeInMillis = 1465967097648L;
    Timestamp now = new Timestamp(timeInMillis);
    AlarmNotification notification = new AlarmNotification("{baa-network-manager}" + AlarmTestConstants.ALARM_TYPE_ID_FOR_DEVICE,
            "{xyz-al}(urn:broadband-forum-org:yang:dpu-alarm-types)xdsl-fe-los", INTF_MODEL_NODE_ID, now, AlarmSeverity.MAJOR,
            "dummyText", AlarmCondition.ALARM_ON, MOUNT_KEY, null);
    Element alarmNotificationElement = new AlarmsDocumentTransformer(m_schemaRegistry, m_dsm).buildAlarmNotification(notification, "urn:ietf:params:xml:ns:yang:ietf-alarms");
    assertXMLEquals(expectedAlarmNotificationElement, alarmNotificationElement, m_ignoreElements);
}