### Question:
DefaultImportsEditorWidget extends ImportsEditorWidget<DefaultImport> { public Map<String, String> getDataTypes() { return dataTypes; } @Inject  DefaultImportsEditorWidget(final SessionManager sessionManager,
                                      final DataTypeNamesService dataTypeNamesService,
                                      final Event<NotificationEvent> notification); Map<String, String> getDataTypes(); String getDataType(String displayName); @Override DefaultImport createImport();  }### Answer:
@Test public void getDataTypes() { tested.dataTypes = new TreeMap<>(); tested.dataTypes.put("test1", "test1"); tested.dataTypes.put("test2", "test2"); tested.dataTypes.put("test3", "test3"); Map<String, String> dataTypes = tested.getDataTypes(); assertEquals(tested.dataTypes, dataTypes); }