@Test public void testGetLinks() { JsonApiRelationship result = new JsonApiRelationship(dummy1, testLocation); Assert.assertEquals(testLocation, result.getLinks().get(RELATED)); }
public Map<String, URI> getLinks() { return links; }
JsonApiRelationship { public Map<String, URI> getLinks() { return links; } }
JsonApiRelationship { public Map<String, URI> getLinks() { return links; } JsonApiRelationship(JsonApiIdentifiable entity, URI location);   JsonApiRelationship(Collection<? extends JsonApiIdentifiable> entityCollection, URI location); }
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(); }
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();  }