### Question:
ArchivedCaseDocumentDatastore extends CommonDatastore<ArchivedCaseDocumentItem, ArchivedDocument> implements DatastoreHasGet<CaseDocumentItem>,
        DatastoreHasDelete { @Override protected ArchivedCaseDocumentItem convertEngineToConsoleItem(final ArchivedDocument item) { if (item != null) { return new ArchivedCaseDocumentItemConverter().convert(item); } return null; } ArchivedCaseDocumentDatastore(final APISession engineSession, final WebBonitaConstantsUtils constantsValue, final ProcessAPI processAPI); @Override ArchivedCaseDocumentItem get(final APIID id); ItemSearchResult<ArchivedCaseDocumentItem> search(final int page, final int resultsByPage,
            final String search, final Map<String, String> filters, final String orders); @Override void delete(final List<APIID> ids);  }### Answer:
@Test public void it_should_convert_item_return_item() throws Exception { final ArchivedCaseDocumentItem convertedEngineToConsoleItem = documentDatastore.convertEngineToConsoleItem(mockedDocument); assertTrue(convertedEngineToConsoleItem != null); }
@Test public void it_should_not_convert_null_item_return_null() { final CaseDocumentItem convertedEngineToConsoleItem = documentDatastore.convertEngineToConsoleItem(null); assertTrue(convertedEngineToConsoleItem == null); }