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;
 }
Ejemplo n.º 4
0
 public LayoutController(ILabelCollectionRetriever labelCollectionRetriever)
 {
     _labelCollectionRetriever = labelCollectionRetriever;
 }
Ejemplo n.º 5
0
 public DashboardViewModelGetter(IApplicationService applicationService, ILabelCollectionRetriever labelCollectionRetriever, IOrganisationService organisationService)
 {
     _applicationService       = applicationService;
     _labelCollectionRetriever = labelCollectionRetriever;
     _organisationService      = organisationService;
 }
Ejemplo n.º 6
0
 public ApplicationViewModelGetter(IApplicationService applicationService, ILabelCollectionRetriever labelCollectionRetriever, ICollectionService collectionService)
 {
     _applicationService       = applicationService;
     _labelCollectionRetriever = labelCollectionRetriever;
     _collectionService        = collectionService;
 }
Ejemplo n.º 7
0
 public virtual void SetUp()
 {
     DashboardViewModelGetter = Substitute.For <IDashboardViewModelGetter>();
     LabelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>();
     DashboardController      = new DashboardController(DashboardViewModelGetter, LabelCollectionRetriever);
 }
Ejemplo n.º 8
0
 public LoginController(ILabelCollectionRetriever labelCollectionRetriever, IFormsAuthenticationService formsAuthenticationService)
 {
     _labelCollectionRetriever   = labelCollectionRetriever;
     _formsAuthenticationService = formsAuthenticationService;
 }
Ejemplo n.º 9
0
 public HomeController(ILabelCollectionRetriever labelCollectionRetriever)
 {
     _labelCollectionRetriever = labelCollectionRetriever;
 }
Ejemplo n.º 10
0
 public virtual void SetUp()
 {
     _labelCollectionRetriever = Substitute.For <ILabelCollectionRetriever>();
     _homeController           = new HomeController(_labelCollectionRetriever);
 }