Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -rfe90a6d174a01975381e6cda55ed1f7f4e831a51 -rbf42d7f7a0afd26840ae4bbecd47ab417b2c4915 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs (.../StructuresOutputContextTreeNodeInfoTest.cs) (revision fe90a6d174a01975381e6cda55ed1f7f4e831a51) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs (.../StructuresOutputContextTreeNodeInfoTest.cs) (revision bf42d7f7a0afd26840ae4bbecd47ab417b2c4915) @@ -27,6 +27,7 @@ using Core.Common.TestUtil; using NUnit.Framework; using Rhino.Mocks; +using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Structures; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.Common.Forms.Properties; @@ -99,11 +100,12 @@ public void ForeColor_HasNoOutput_ReturnGrayText() { // Setup + var assessmentSection = mocksRepository.Stub(); var structuresCalculation = mocksRepository.Stub(); mocksRepository.ReplayAll(); // Call - Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation)); + Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation, assessmentSection)); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), color); @@ -113,12 +115,13 @@ public void ForeColor_HasOutput_ReturnControlText() { // Setup + var assessmentSection = mocksRepository.Stub(); var structuresCalculation = mocksRepository.Stub(); structuresCalculation.Stub(c => c.HasOutput).Return(true); mocksRepository.ReplayAll(); // Call - Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation)); + Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation, assessmentSection)); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.ControlText), color);