void (Artifact artifact, String groupId, String artifactId, String version) { assertEquals(groupId, artifact.getGroupId()); assertEquals(artifactId, artifact.getArtifactId()); assertEquals(version, artifact.getVersion()); }