public TestScreenCloser(Test test, ITestStateManager stateManager, IMessageCreator messageBox, IEditTestController controller) { _test = test; _stateManager = stateManager; _messageBox = messageBox; _controller = controller; }
public TestScreen(ITestPresenter presenter, ITestView view, Test test, ITestStateManager stateManager, ITestScreenCloser closer, IEditTestController controller, IOutlineController outline) { _presenter = presenter; _view = view; _test = test; _stateManager = stateManager; _closer = closer; _controller = controller; _outline = outline; _stateManager.RegisterListener(_presenter); }