public SearchFightPresenterCtorArgs(ISearchFightView view, ISearchFightModel model, ISearchFightService service, ISearchResultModelMapper mapper, ILoggerFactory loggerFactory) { this.View = view; this.Model = model; this.Service = service; this.Mapper = mapper; this.LoggerFactory = loggerFactory; }
public SearchFightPresenterTests() { _view = A.Fake <ISearchFightView>(); _model = A.Fake <ISearchFightModel>(); _logger = A.Fake <ILoggerFactory>(); _presenter = new SearchFightPresenter(new SearchFightPresenterCtorArgs { LoggerFactory = _logger, View = _view, Model = _model, }); }