@Test
public void testHasRelationshipTo() {

	JsonApiResource result = new JsonApiResource(dummyObj, uri);
	result.addRelationship("dummy02", dummy02, uri);
	result.addRelationship("anotherDummyClass", anotherDummyClass, uri);
	Assert.assertTrue(result.hasRelationshipTo(dummy02));
	Assert.assertTrue(result.hasRelationshipTo(anotherDummyClass));
	Assert.assertFalse(result.hasRelationshipTo(dummy03));
}