### Question:
ImportsWidgetViewImpl extends Composite implements ImportsWidgetView { ListDataProvider<Import> getDataProvider() { return dataProvider; } ImportsWidgetViewImpl(); @Inject  ImportsWidgetViewImpl(final AddImportPopup addImportPopup,
                                 final Event<LockRequiredEvent> lockRequired); @Override void init(final ImportsWidgetView.Presenter presenter); @Override void setContent(final List<Import> importTypes,
                           final boolean isReadOnly); @UiHandler("addImportButton") void onClickAddImportButton(final ClickEvent event); @Override void showBusyIndicator(final String message); @Override void hideBusyIndicator(); @Override void updateRenderedColumns();  }### Answer:
@Test public void setContentSortsAlphabetically() { final List<Import> imports = view.getDataProvider().getList(); assertEquals(3, imports.size()); assertEquals(import3, imports.get(0)); assertEquals(import2, imports.get(1)); assertEquals(import1, imports.get(2)); }