includeFactory.registerIncludeType("4cc", Include4ccTest.class);
includeFactory.registerIncludeType("less", IncludeLessTest.class);
PackageManifestJSONLoader loader = new PackageManifestJSONLoader(includeFactory);
InputStream in = PackageManifestJSONLoaderTest.class.getResourceAsStream("/packaging/test/tablet-web-package.json");
Resource resource = new FileResource(".", null, new File("."));
PackageManifest manifest = new PackageManifest();
manifest.setResource(resource);
loader.load(manifest, in);
List<Extension> extensions = manifest.getExtensions();
assertEquals(extensions.size(), 1);
}