### Question:
ProcessConnectorDatastore extends CommonDatastore<ProcessConnectorItem, ConnectorImplementationDescriptor> implements
        DatastoreHasGet<ProcessConnectorItem>,
        DatastoreHasSearch<ProcessConnectorItem> { @Override protected ProcessConnectorItem convertEngineToConsoleItem(final ConnectorImplementationDescriptor item) { final ProcessConnectorItem result = new ProcessConnectorItem(); result.setName(item.getDefinitionId()); result.setVersion(item.getDefinitionVersion()); result.setImplementationName(item.getId()); result.setImplementationVersion(item.getVersion()); result.setClassname(item.getImplementationClassName()); return result; } ProcessConnectorDatastore(final APISession engineSession); @Override ProcessConnectorItem get(final APIID id); @Override ItemSearchResult<ProcessConnectorItem> search(final int page, final int resultsByPage, final String search, final String orders,
            final Map<String, String> filters);  }### Answer:
@Test public void testConvertEngineToConsoleItem() throws Exception { final ConnectorImplementationDescriptor descriptor = new ConnectorImplementationDescriptor("implementationClassName", "name", "version", "definitionId", "definitionVersion", EMPTY_LIST); final ProcessConnectorItem expectedItem = new ProcessConnectorItem(); expectedItem.setName("definitionId"); expectedItem.setVersion("definitionVersion"); expectedItem.setImplementationName("name"); expectedItem.setImplementationVersion("version"); expectedItem.setClassname("implementationClassName"); final ProcessConnectorItem convertedItem = this.processConnectorDatastore.convertEngineToConsoleItem(descriptor); assertTrue(areEquals(expectedItem, convertedItem)); }