@Test
public void testPmaServerContactsServerMessageListener()
        throws NetconfMessageBuilderException, IOException, SAXException {

    Map<NetConfResponse, List<Notification>> netConfResponseListMap = m_pmaServer.executeNetconf(m_getRequest);
    Map.Entry<NetConfResponse, List<Notification>> entry = netConfResponseListMap.entrySet().iterator().next();
    NetConfResponse response = entry.getKey();
    verify(m_netconfServer).onGet(eq(PMA_USER), eq(m_getRequest), anyObject());
      assertEquals("<rpc-reply message-id=\"1\" xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n" +
              "  <data>\n" +
              "    <if:interfaces xmlns:if=\"urn:ietf:params:xml:ns:yang:ietf-interfaces\">\n" +
              "    <if:interface>\n" +
              "        <if:name>xdsl-line:1/1/1/new</if:name>\n" +
              "        <if:type xmlns:bbfift=\"urn:broadband-forum-org:yang:bbf-if-type\">bbfift:xdsl</if:type>\n" +
              "    </if:interface>\n" +
              "</if:interfaces>\n" +
              "  </data>\n" +
              "</rpc-reply>\n", response.responseToString());
    String expect = "<rpc-reply message-id=\"1\" xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">\n" +
            "  <data>\n" +
            "    <if:interfaces xmlns:if=\"urn:ietf:params:xml:ns:yang:ietf-interfaces\">\n" +
            "    <if:interface>\n" +
            "        <if:name>xdsl-line:1/1/1/new</if:name>\n" +
            "        <if:type xmlns:bbfift=\"urn:broadband-forum-org:yang:bbf-if-type\">bbfift:xdsl</if:type>\n" +
            "    </if:interface>\n" +
            "</if:interfaces>\n" +
            "  </data>\n" +
            "</rpc-reply>\n";
    TestUtil.assertXMLEquals(DocumentUtils.stringToDocument(expect).getDocumentElement(),
            DocumentUtils.stringToDocument(response.responseToString()).getDocumentElement());
    verifyZeroInteractions(m_deviceDataStore);
}