metricsChangedHandler = (MetricsChangedHandler) invocationOnMock.getArguments()[1];
return null;
}
}).when(eventManager).addProjectEventHandler(any(MetricsChangedEvent.getType().getClass()), any(MetricsChangedHandler.class));
presenter = new MetricsPresenter(projectId, view, dispatchServiceManager);
presenter.bind(eventManager);
}