@Test(expected = BundleException.class)
public void testExtractFromNarMissingExtensionDescriptor() throws IOException {

    try (final InputStream in = new FileInputStream("src/test/resources/nars/nifi-foo-nar-missing-extension-descriptor.nar")) {
        extractor.extract(in);
        fail("Should have thrown exception");
    }
}