JsonApiRelationship { public Map<String, URI> getLinks() { return links; } JsonApiRelationship(JsonApiIdentifiable entity, URI location);   JsonApiRelationship(Collection<? extends JsonApiIdentifiable> entityCollection, URI location); List<JsonApiIdentifiable> getData(); Map<String, URI> getLinks(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testGetLinks() { JsonApiRelationship result = new JsonApiRelationship(dummy1, testLocation); Assert.assertEquals(testLocation, result.getLinks().get(RELATED)); }