public PopulationParameterGroupsPresenter(IPopulationParameterGroupsView view, IParameterGroupTask parameterGroupTask, IPopulationGroupNodeCreator groupNodeCreator, IPopulationHierarchyNodeCreator hierarchyNodeCreator) : base(view) { _parameterGroupTask = parameterGroupTask; _groupNodeCreator = groupNodeCreator; _hierarchyNodeCreator = hierarchyNodeCreator; }
protected override void Context() { _view = A.Fake <IPopulationParameterGroupsView>(); _parameterGroupTask = A.Fake <IParameterGroupTask>(); _groupNodeCreator = A.Fake <IPopulationGroupNodeCreator>(); _representationInfoRepository = A.Fake <IRepresentationInfoRepository>(); _hierarchyNodeCreator = A.Fake <IPopulationHierarchyNodeCreator>(); _allParameters = new List <IParameter>(); sut = new PopulationParameterGroupsPresenter(_view, _parameterGroupTask, _groupNodeCreator, _hierarchyNodeCreator); }