AetherUtils { public static ExtensionId createExtensionId(Artifact artifact) { return createExtensionId(artifact, null); }  static DefaultArtifact createArtifact(String id, String version); static ExtensionId createExtensionId(Artifact artifact); static ExtensionId createExtensionId(Artifact artifact, ExtensionFactory factory); static ExtensionId createExtensionId(Artifact artifact, boolean includeExtension, ExtensionFactory factory);  }
@Test void createExtensionId() { assertEquals(new ExtensionId("groupId:artifactId", "version"), AetherUtils.createExtensionId(new DefaultArtifact("groupId", "artifactId", "extension", "version"))); }