public void beforTest() { mockery = new Mockery(); view = mockery.NewMock<IPlaylistCreatorView>(); task = mockery.NewMock<IPlaylistCreatorTask>(); presenter = new PlaylistCreatorPresenter(view, task); }
public PlaylistCreatorPresenter(IPlaylistCreatorView view, IPlaylistCreatorTask task) { this.task = task; this.view = view; }
public PlaylistCreatorPresenter(IPlaylistCreatorView view) : this(view, new PlaylistCreatorTask()) { }