function = createNodeParser(hardwares, images, locations, ImmutableMap.of("node#1", (Credentials) credentials));
}
@Test
public void testConvertDroplet() throws ParseException {
Droplet droplet = new Droplet(1, "mock-droplet", 1, 1, 1, false, ImmutableList.of(), ImmutableList.of(),
"84.45.69.3", "192.168.2.5", false, ACTIVE, new Date());
NodeMetadata expected = new NodeMetadataBuilder().ids("1").hardware(getOnlyElement(hardwares))
.imageId("ubuntu-1404-x86").status(RUNNING).location(getOnlyElement(locations)).name("mock-droplet")
.hostname("mock-droplet").group("mock").credentials(credentials)