Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs =================================================================== diff -u -rbf42d7f7a0afd26840ae4bbecd47ab417b2c4915 -r62c2ec9cb0416527762e077df380cbfb473dc9dc --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs (.../StructuresOutputContextTreeNodeInfoTest.cs) (revision bf42d7f7a0afd26840ae4bbecd47ab417b2c4915) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/StructuresOutputContextTreeNodeInfoTest.cs (.../StructuresOutputContextTreeNodeInfoTest.cs) (revision 62c2ec9cb0416527762e077df380cbfb473dc9dc) @@ -105,7 +105,7 @@ mocksRepository.ReplayAll(); // Call - Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation, assessmentSection)); + Color color = info.ForeColor(new SimpleStructuresOutputContext(structuresCalculation, assessmentSection)); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), color); @@ -121,7 +121,7 @@ mocksRepository.ReplayAll(); // Call - Color color = info.ForeColor(new StructuresOutputContext(structuresCalculation, assessmentSection)); + Color color = info.ForeColor(new SimpleStructuresOutputContext(structuresCalculation, assessmentSection)); // Assert Assert.AreEqual(Color.FromKnownColor(KnownColor.ControlText), color); @@ -169,5 +169,11 @@ // Assert // Assert expectancies called in TearDown() } + + private class SimpleStructuresOutputContext : StructuresOutputContext + { + public SimpleStructuresOutputContext(IStructuresCalculation wrappedData, IAssessmentSection assessmentSection) + : base(wrappedData, assessmentSection) { } + } } } \ No newline at end of file