protected override void Context()
 {
     _topGroup = new Group {
         Name = "topGroup"
     };
     _allParameters = new List <IParameter>();
     _parameterGroupToTreeNodeMapper = A.Fake <IParameterGroupToTreeNodeMapper>();
     _dynamicGroupExpander           = A.Fake <IDynamicGroupExpander>();
     sut = new ParameterGroupNodeCreator(_parameterGroupToTreeNodeMapper, _dynamicGroupExpander);
 }
예제 #2
0
 public ParameterGroupNodeCreator(IParameterGroupToTreeNodeMapper parameterGroupToTreeNodeMapper, IDynamicGroupExpander dynamicGroupExpander)
 {
     _parameterGroupToTreeNodeMapper = parameterGroupToTreeNodeMapper;
     _dynamicGroupExpander           = dynamicGroupExpander;
 }