@Test
public void buildRpcReplyData() throws Exception {

    String data =
            "<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>";
    List<Node> nodes = new ArrayList<>();
    Document document = AggregatorUtils.stringToDocument(data);
    nodes.add(document.getFirstChild());
    String reply = NetconfRpcReplyMessage.buildRpcReplyDataV10(MESSAGE_ID, nodes);
    assertTrue(reply.contains("huawei-board"));
    assertTrue(reply.contains(V10));
    reply = NetconfRpcReplyMessage.buildRpcReplyDataV11(MESSAGE_ID, nodes);
    assertTrue(reply.contains("H901MPLB_0_9"));
    assertTrue(reply.contains(V11));
}