@Test
public void getInstance() throws Exception {

    String queryUsedYangModules = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
            + "<rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"1542612595090\">\n"
            + "  <get>\n"
            + "    <filter type=\"subtree\">\n"
            + "      <in-use-library-modules xmlns=\"urn:bbf:yang:obbaa:module-library-check\" />\n"
            + "    </filter>\n"
            + "  </get>\n"
            + "</rpc>";
    QueryYangModuleInUseRpc queryYangModuleInUseRpc = QueryYangModuleInUseRpc.getInstance(queryUsedYangModules);
    assertNotNull(queryYangModuleInUseRpc.getUsedYangModules());
}