private ModelFactory() { _tcApi = new TCApi(); _logInModel = new LogInModel(_tcApi); _homeModel = new HomeModel(_tcApi); _userPreference = new UserPreference(_tcApi); _settingsModel = new SettingsModel(); _createUserModel = new CreateUserModel(_tcApi); _createCaseModel = new CreateCaseModel(_tcApi); _caseModel = new CaseModel(_tcApi); _changePasswordModel = new ChangePasswordModel(_tcApi); _mapModel = new MapModel(_tcApi); _trafficLightModel = new TrafficLightOverviewModel(_tcApi); }
public void Init() { _fakeView = Substitute.For <ICreateUserView>(); _fakeModel = Substitute.For <ICreateUserModel>(); _uut = new CreateUserPresenter(_fakeView, _fakeModel); }
public CreateUserPresenter(ICreateUserView view, ICreateUserModel model) { _view = view; _model = model; }