void (CompositePackagingElement<?> rootElement, PackagingElementResolvingContext context, ArtifactType type, @Nullable String mainClass, @Nullable String classpath) { final VirtualFile file = ManifestFileUtil.findManifestFile(rootElement, context, type); assertNotNull(file); final Manifest manifest = ManifestFileUtil.readManifest(file); assertEquals(mainClass, manifest.getMainAttributes().getValue(Attributes.Name.MAIN_CLASS)); assertEquals(classpath, manifest.getMainAttributes().getValue(Attributes.Name.CLASS_PATH)); }