### Question:
PageDatastore extends CommonDatastore<PageItem, Page> implements DatastoreHasAdd<PageItem>, DatastoreHasUpdate<PageItem>,
        DatastoreHasGet<PageItem>, DatastoreHasSearch<PageItem>, DatastoreHasDelete { protected List<Long> APIIdsToLong(final List<APIID> ids) { final List<Long> result = new ArrayList<>(ids.size()); for (final APIID id : ids) { result.add(id.toLong()); } return result; } PageDatastore(final APISession engineSession, final WebBonitaConstantsUtils constantsValue,
            final PageAPI pageAPI,
            final CustomPageService customPageService,
            final CompoundPermissionsMapping compoundPermissionsMapping,
            final ResourcesPermissionsMapping resourcesPermissionsMapping,
            final BonitaHomeFolderAccessor tenantFolder); @Override PageItem add(final PageItem pageItem); @Override PageItem get(final APIID id); @Override void delete(final List<APIID> ids); @Override ItemSearchResult<PageItem> search(final int page, final int resultsByPage, final String search,
            final String orders,
            final Map<String, String> filters); @Override PageItem update(final APIID id, final Map<String, String> attributes); static final String UNMAPPED_ATTRIBUTE_ZIP_FILE; }### Answer:
@Test public void testAPIIdsToLong() { final APIID id1 = makeAPIID("1"); final APIID id2 = makeAPIID("2"); final List<APIID> listId = Arrays.asList(id1, id2); assertThat(pageDatastore.APIIdsToLong(listId)).isEqualTo(Arrays.asList(1L, 2L)); }