public virtual void SetUp() { ApplicationService = Substitute.For <IApplicationService>(); LabelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>(); CollectionService = Substitute.For <ICollectionService>(); ApplicationViewModelGetter = new ApplicationViewModelGetter(ApplicationService, LabelCollectionRetriever, CollectionService); }
public virtual void SetUp() { OrganisationService = Substitute.For <IOrganisationService>(); FormsAuthenticationService = Substitute.For <IFormsAuthenticationService>(); ApplicationService = Substitute.For <IApplicationService>(); LabelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>(); DashboardViewModelGetter = new DashboardViewModelGetter(ApplicationService, LabelCollectionRetriever, OrganisationService); }
public DashboardController(IDashboardViewModelGetter dashboardViewModelGetter, ILabelCollectionRetriever labelCollectionRetriever) { _dashboardViewModelGetter = dashboardViewModelGetter; _labelCollectionRetriever = labelCollectionRetriever; }
public LayoutController(ILabelCollectionRetriever labelCollectionRetriever) { _labelCollectionRetriever = labelCollectionRetriever; }
public DashboardViewModelGetter(IApplicationService applicationService, ILabelCollectionRetriever labelCollectionRetriever, IOrganisationService organisationService) { _applicationService = applicationService; _labelCollectionRetriever = labelCollectionRetriever; _organisationService = organisationService; }
public ApplicationViewModelGetter(IApplicationService applicationService, ILabelCollectionRetriever labelCollectionRetriever, ICollectionService collectionService) { _applicationService = applicationService; _labelCollectionRetriever = labelCollectionRetriever; _collectionService = collectionService; }
public virtual void SetUp() { DashboardViewModelGetter = Substitute.For <IDashboardViewModelGetter>(); LabelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>(); DashboardController = new DashboardController(DashboardViewModelGetter, LabelCollectionRetriever); }
public LoginController(ILabelCollectionRetriever labelCollectionRetriever, IFormsAuthenticationService formsAuthenticationService) { _labelCollectionRetriever = labelCollectionRetriever; _formsAuthenticationService = formsAuthenticationService; }
public HomeController(ILabelCollectionRetriever labelCollectionRetriever) { _labelCollectionRetriever = labelCollectionRetriever; }
public virtual void SetUp() { _labelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>(); _homeController = new HomeController(_labelCollectionRetriever); }