@Test
public void testEquals() {

    JsonApiResource result1 = new JsonApiResource(dummyObj,uri);
    JsonApiResource result2 = new JsonApiResource(dummyObj,uri);
    JsonApiResource resultOther = new JsonApiResource(new Dummy("x"), uri);
    Assert.assertEquals(result1, result2);
    Assert.assertNotEquals(resultOther, result1);
}