protected override void Context()
        {
            base.Context();
            _chartTemplate = new CurveChartTemplate().WithName("name");
            _buildingBlock = new SimulationSettings();
            _buildingBlock.AddChartTemplate(_chartTemplate);

            sut = new RemoveChartTemplateFromBuildingBlockCommand(_chartTemplate, _buildingBlock);
        }
 protected override void Context()
 {
     base.Context();
     _simulationSettings = new SimulationSettings();
     _curveChartTemplate = new CurveChartTemplate();
     _simulationSettings.AddChartTemplate(_curveChartTemplate);
     _curveChartTemplate.Curves.Add(new CurveTemplate
     {
         xData = { Path = "A|B|D" },
         yData = { Path = "C|D|E" }
     });
 }
        protected override void Context()
        {
            base.Context();
            _simulationSettings = new SimulationSettings();
            _curveChartTemplate = new CurveChartTemplate();
            _simulationSettings.AddChartTemplate(_curveChartTemplate);
            _curveTemplate = new CurveTemplate
            {
                xData = { Path = $"A|B|{_oldName}" },
                yData = { Path = $"C|D|{_oldName}" },
            };
            _curveChartTemplate.Curves.Add(_curveTemplate);

            A.CallTo(() => _cloneManager.Clone(_curveChartTemplate)).Returns(_curveChartTemplate);
        }