@Test
   public void testConstructorWithCollection() {

	setUpUriInfo();
	List<JsonApiIdentifiable> dummyCollection = Arrays.asList(dummyObj01, dummyObj42, dummyObj43);
	JsonApiDocument result = new JsonApiDocument(dummyCollection, uriInfoMock);
	Assert.assertEquals(
		dummyCollection,
		result
			.getData()
			.asResourceCollection()
			.getEntity()
			.stream()
			.map(JsonApiResource::getEntity)
			.collect(Collectors.toList()));
}