@Test
public void getRpcReplyPayloads() throws Exception {

    String reply =
            "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
            "<rpc-reply xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"1520491011759\">\n" +
            "  <data>\n" +
            "    <boards xmlns=\"urn:huawei:params:xml:ns:yang:huawei-board\">\n" +
            "      <board>\n" +
            "        <name>0.9</name>\n" +
            "        <description>H901MPLB_0_9</description>\n" +
            "      </board>\n" +
            "      <board>\n" +
            "        <name>0.10</name>\n" +
            "        <description>H901PILA_0_10</description>\n" +
            "      </board>\n" +
            "    </boards>\n" +
            "  </data>\n" +
            "</rpc-reply>\n";
    NetconfRpcReplyMessage netconfRpcReplyMessage = new NetconfRpcReplyMessage(reply);
    String payload = netconfRpcReplyMessage.getPayloads().get(0);
    assertTrue(payload.contains("<name>0.10</name>"));
}