@Test
public void processRequest() throws Exception {

    Map<NetConfResponse, List<Notification>> map = new HashMap<>();
    NetConfResponse netConfResponse = DocumentToPojoTransformer.getNetconfResponse(DocumentUtils.stringToDocument(RESPONSE_OK_XML));
    map.put(netConfResponse, Collections.emptyList());
    when(m_pmaRegistry.executeNC(DEVICE_NAME_A, REQUEST_DEVICE_CONFIG_GET)).thenReturn(map);
    String response = m_pmaAdapter.processRequest(DEVICE_NAME_A, REQUEST_DEVICE_CONFIG_GET);
      assertEquals(RESPONSE_OK_XML, response);
    TestUtil.assertXMLEquals(DocumentUtils.stringToDocument(RESPONSE_OK_XML).getDocumentElement(),
            DocumentUtils.stringToDocument(response).getDocumentElement());
}