public void Constructor_SetsStateService() { var stateService = new MockStateService(); var pageEntry = new PageEntry("Test Page", stateService); Assert.Equal(stateService, pageEntry.PageState); }
public void GivenTheDeviceGetsBooted() { this.weatherService = new MockWeatherService(); this.newsService = new MockNewsService(); this.deliveryBoundary = new MockDeliveryBoundary(); this.mirrorStateServices = new MockStateService(); this.defaultUserPresenter = new MockDefaultUserPresenter(); this.settings = new MockAppSettings(); this.interactor = new DefaultUserUseCaseInteractor( this.weatherService, this.newsService, this.deliveryBoundary, this.mirrorStateServices, this.defaultUserPresenter, settings); }