@Test
public void toolMetadata() throws Exception {

    PipelineMetadataService svc = new PipelineMetadataService();
    List<ExportedToolDescriptor> tools = new ArrayList<>();
    tools.addAll(Arrays.asList(svc.doToolMetadata()));
    assertFalse(tools.isEmpty());
    ExportedToolDescriptor t = null;
    for (ExportedToolDescriptor a : tools) {
        if (a.getType().equals(JDK.DescriptorImpl.class.getName())) {
            t = a;
        }
    }
    assertNotNull(t);
    assertEquals("jdk", t.getSymbol());
}