Map<String, Object> attributes = new HashMap<String, Object>();
attributes.put(VirtualHost.NAME, getName());
attributes.put(VirtualHost.TYPE, TestMemoryVirtualHost.VIRTUAL_HOST_TYPE);
attributes.put(VirtualHost.ID, UUID.randomUUID());
VirtualHost<?,?,?> host = new TestMemoryVirtualHost(attributes, _virtualHostNode);
host.open();
assertNotNull("Null is returned", host);
assertEquals("Unexpected name", getName(), host.getName());
}