### Question:
DefaultImportsEditorWidget extends ImportsEditorWidget<DefaultImport> { protected void loadDefaultDataTypes() { List<String> dataTypes = new ArrayList<>(); dataTypes.add("Boolean"); dataTypes.add("Float"); dataTypes.add("Integer"); dataTypes.add("Object"); dataTypes.add("String"); addDataTypes(dataTypes, false); } @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 loadDefaultDataTypes() { tested.dataTypes = new TreeMap<>(); tested.loadDefaultDataTypes(); assertEquals(5, tested.dataTypes.size()); assertTrue(tested.dataTypes.containsKey("Boolean")); assertTrue(tested.dataTypes.containsKey("Float")); assertTrue(tested.dataTypes.containsKey("Integer")); assertTrue(tested.dataTypes.containsKey("Object")); assertTrue(tested.dataTypes.containsKey("String")); }