@Test
public void testGetResponse() {

	//Record
	setUpExpectations();
	JsonApiIdentifiable minimalEntity = createMinimalEntity();
	//Replay
	Response result = JsonApiResponse
		.createGetResponse(uriInfo)
		.data(minimalEntity)
		.build();
	//Verify
	Assert.assertEquals(200, result.getStatus());
	assertIsValidJsonApiDataResponse(result);
	JsonNode jEntity = extractJsonEntity(result);
	Assert.assertEquals(TEST_ID, jEntity.get("data").get("id").textValue());
	Assert.assertEquals(ENTITY_PATH, jEntity.get("links").get("self").textValue());
	Assert.assertTrue(jEntity.get("data").has("attributes"));
}