@Test
public void testExtractFromGoodNarNoDependencies() throws IOException {

    try (final InputStream in = new FileInputStream("src/test/resources/nars/nifi-framework-nar.nar")) {
        final BundleDetails bundleDetails = extractor.extract(in);
        assertNotNull(bundleDetails);
        assertNotNull(bundleDetails.getBundleIdentifier());
        assertNotNull(bundleDetails.getDependencies());
        assertEquals(0, bundleDetails.getDependencies().size());
        final BundleIdentifier bundleIdentifier = bundleDetails.getBundleIdentifier();
        assertEquals("org.apache.nifi", bundleIdentifier.getGroupId());
        assertEquals("nifi-framework-nar", bundleIdentifier.getArtifactId());
        assertEquals("1.8.0", bundleIdentifier.getVersion());
        assertNotNull(bundleDetails.getExtensions());
        assertEquals(0, bundleDetails.getExtensions().size());
        assertEquals("1.8.0", bundleDetails.getSystemApiVersion());
    }
}