### Question:
WildcardMap { public T get(Dependency key) { String groupId = key.getGroupId(); String artifactId = key.getArtifactId(); return get( groupId, artifactId ); }  int size(); boolean containsKey(Dependency key); boolean containsKey(ProjectRef key); void put(ProjectRef key, T value); T get(Dependency key); T get(ProjectRef key); boolean isEmpty(); @Override String toString(); static final String WILDCARD; }### Answer:
@Test public void testGet() { final String value = "1.2"; ProjectRef key1 = SimpleProjectRef.parse( "org.group:new-artifact" ); ProjectRef key2 = SimpleProjectRef.parse( "org.group:new-new-artifact" ); map.put(key1, value); map.put(key2, value); Assert.assertEquals( value, map.get( key1 ) ); Assert.assertEquals( value, map.get( key2 ) ); }