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);
 }
 public ParameterGroupNodeCreator(IParameterGroupToTreeNodeMapper parameterGroupToTreeNodeMapper, IDynamicGroupExpander dynamicGroupExpander)
 {
     _parameterGroupToTreeNodeMapper = parameterGroupToTreeNodeMapper;
     _dynamicGroupExpander           = dynamicGroupExpander;
 }