### Question:
APICaseDocument extends ConsoleAPI<CaseDocumentItem> { @Override public CaseDocumentItem update(final APIID id, final Map<String, String> attributes) { return getCaseDocumentDatastore().update(id, attributes); }  @Override CaseDocumentItem get(final APIID id); @Override CaseDocumentItem add(final CaseDocumentItem item); @Override CaseDocumentItem update(final APIID id, final Map<String, String> attributes); @Override String defineDefaultSearchOrder(); @Override ItemSearchResult<CaseDocumentItem> search(final int page, final int resultsByPage, final String search, final String orders,
            final Map<String, String> filters); @Override void delete(final List<APIID> ids);  }### Answer:
@Test public void it_should_call_the_datastore_update_method() { final APIID id = APIID.makeAPIID(1l); final Map<String, String> attributes = null; apiDocument.update(id, attributes); verify(datastore).update(id, attributes); }