@Test
public void testDocsWithReportingTask() throws IOException {

    final ExtensionManifest extensionManifest = parse("src/test/resources/descriptors/extension-manifest-ambari-nar.xml");
    assertNotNull(extensionManifest);
    assertEquals("1.10.0-SNAPSHOT", extensionManifest.getSystemApiVersion());
    final List<Extension> extensions = extensionManifest.getExtensions();
    assertEquals(1, extensions.size());
    final Extension reportingTask = extensions.stream()
            .filter(e -> e.getName().equals("org.apache.nifi.reporting.ambari.AmbariReportingTask"))
            .findFirst()
            .orElse(null);
    assertNotNull(reportingTask);
    assertEquals(ExtensionType.REPORTING_TASK, reportingTask.getType());
    assertNotNull(reportingTask.getDescription());
    assertEquals(3, reportingTask.getTags().size());
    assertTrue(reportingTask.getTags().contains("reporting"));
    assertTrue(reportingTask.getTags().contains("metrics"));
    assertTrue(reportingTask.getTags().contains("ambari"));
    assertNull(reportingTask.getProvidedServiceAPIs());
}