### Question:
ProjectMetricsScreen { public Displayer getCommitsPerAuthorDisplayer() { return commitsPerAuthorDisplayer; } @Inject  ProjectMetricsScreen(View view,
                                TranslationService translationService,
                                ProjectMetricsFactory metricsFactory,
                                DisplayerCoordinator displayerCoordinator); @WorkbenchPartView View getView(); void onStartup(@Observes final WorkbenchProjectMetricsEvent event); void onStartup(final WorkspaceProject workspaceProject); @OnClose void onClose(); void onProjectAssetListUpdated(@Observes @Routed final ProjectAssetListUpdated event); Displayer getCommitsOverTimeDisplayer(); Displayer getCommitsPerAuthorDisplayer(); Displayer getCommitsByYearDisplayer(); Displayer getCommitsByQuarterDisplayer(); Displayer getCommitsByDayOfWeekDisplayer(); Displayer getTopAuthorSelectorDisplayer(); Displayer getDateSelectorDisplayer(); Displayer getAllCommitsDisplayer();  }### Answer:
@Test public void testCommitsPerAuthor() { Displayer displayer = presenter.getCommitsPerAuthorDisplayer(); DataSet dataSet = displayer.getDataSetHandler().getLastDataSet(); assertDataSetValues(dataSet, new String[][]{ {"user1", "2.00", "2.00", "user1", "1.00"}, {"user2", "2.00", "2.00", "user2", "1.00"} }, 0); }