@@ -0,0 +1,1380 @@
+package com.github.ferstl.depgraph.dependency;%0A%0Aimport org.apache.maven.artifact.Artifact;%0Aimport org.apache.maven.artifact.DefaultArtifact;%0Aimport org.junit.Test;%0A%0Aimport static com.github.ferstl.depgraph.dependency.NodeIdRenderers.GROUP_ID;%0Aimport static com.github.ferstl.depgraph.dependency.NodeIdRenderers.VERSIONLESS_ID;%0Aimport static com.github.ferstl.depgraph.dependency.NodeIdRenderers.VERSIONLESS_ID_WITH_SCOPE;%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class NodeIdRenderersTest %7B%0A%0A  @Test%0A  public void groupId() %7B%0A    // act%0A    String result = GROUP_ID.render(createDependencyNode());%0A%0A    // assert%0A    assertEquals(%22groupId%22, result);%0A  %7D%0A%0A  @Test%0A  public void versionLessId() %7B%0A    // act%0A    String result = VERSIONLESS_ID.render(createDependencyNode());%0A%0A    // assert%0A    assertEquals(%22groupId:artifactId:type:classifier%22, result);%0A  %7D%0A%0A  @Test%0A  public void versionLessIdWithScope() %7B%0A    // act%0A    String result = VERSIONLESS_ID_WITH_SCOPE.render(createDependencyNode());%0A%0A    // assert%0A    assertEquals(%22groupId:artifactId:type:classifier:compile%22, result);%0A  %7D%0A%0A%0A  private static DependencyNode createDependencyNode() %7B%0A    Artifact artifact = new DefaultArtifact(%0A        %22groupId%22,%0A        %22artifactId%22,%0A        %221.0.0%22,%0A        %22compile%22,%0A        %22type%22,%0A        %22classifier%22,%0A        null);%0A%0A    return new DependencyNode(artifact);%0A  %7D%0A%7D%0A

Add tests for NodeIdRenderers