}
@Test
public void testMetainfoParsing() throws Exception {
InputStream metainfo_1 = new ByteArrayInputStream(metainfo_1_str.getBytes());
Metainfo metainfo = new MetainfoParser().parse(metainfo_1);
Assert.assertEquals(metainfo.getServices().size(), 1);
Service service = metainfo.getServices().get(0);
log.info("Service: " + service.toString());
Assert.assertEquals(service.getName(), "HBASE");
Assert.assertEquals(service.getComponents().size(), 2);
List<Component> components = service.getComponents();
int found = 0;