### Question:
ElasticsearchClientService { public Node createEmbeddedNode(String name, Properties settings) throws Exception { Node node = null; try { String nodePath = appConfigurationService.getAppConfiguration().getAppDataPath(); if (nodePath != null) { nodePath = nodePath + "/" + name; } else { nodePath = name; } File pathFolder = new File(nodePath); String pathFolderName = pathFolder.getCanonicalPath(); if (!pathFolder.exists()) { if (!pathFolder.mkdirs()) { throw new IOException("Could not create a folder for Elasticsearch node [" + pathFolderName + "]"); } } Settings s = org.elasticsearch.common.settings.ImmutableSettings.settingsBuilder().put(settings) .put("path.data", pathFolderName).build(); node = NodeBuilder.nodeBuilder().settings(s).local(true).node(); log.log(Level.INFO, "New Embedded Node instance created, {0}, location: {1}", new Object[] { node, pathFolderName }); return node; } catch (Exception e) { if (node != null) { node.close(); } throw e; } }  Node createEmbeddedNode(String name, Properties settings); Client getClient(); @PreDestroy void destroy(); void checkHealthOfCluster(Client client);  }### Answer:
@Test public void createEmbeddedNode() { }