@Test
public void testGetActiveAlarmRpcOutputElementWithNonYangResourceString() throws Exception {

    long timeInMillis = 1465967097648L;
    Timestamp now = new Timestamp(timeInMillis);
    AlarmParameters parameter = new AlarmParameters(
            "{baa-network-manager}(http://www.example.com/network-manager/managed-devices?revision=2015-07-14)testId",
            "",
            null, now, AlarmSeverity.CRITICAL,
            "Test", null, NON_YANG_RESOURCE_STRING);
    Element expectedAlarmRpcElement = loadAsXml(EXPECTED_GET_ALARM_RPC_OUTPUT_WITH_NON_YANG_RESOURCE);
    Element alarmRpcOutputElement = new AlarmsDocumentTransformer(m_schemaRegistry, null)
            .getAlarmRpcOutputElement(AlarmTestConstants.NETWORK_MANAGER_NAMESPACE, "1", Arrays.asList(parameter));
    assertXMLEquals(expectedAlarmRpcElement, alarmRpcOutputElement, m_ignoreElements);
}