Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/EmptyDikeHeightOutputTreeNodeInfoTest.cs =================================================================== diff -u -re36e88b2cfbec3549a4b9e708b9c6d111a06ecb2 -r8ef0869d98ed0941b8409519c540b73b7c19448a --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/EmptyDikeHeightOutputTreeNodeInfoTest.cs (.../EmptyDikeHeightOutputTreeNodeInfoTest.cs) (revision e36e88b2cfbec3549a4b9e708b9c6d111a06ecb2) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/EmptyDikeHeightOutputTreeNodeInfoTest.cs (.../EmptyDikeHeightOutputTreeNodeInfoTest.cs) (revision 8ef0869d98ed0941b8409519c540b73b7c19448a) @@ -59,7 +59,7 @@ // Assert Assert.IsNotNull(info.Text); - Assert.IsNull(info.ForeColor); + Assert.IsNotNull(info.ForeColor); Assert.IsNotNull(info.Image); Assert.IsNull(info.ContextMenuStrip); Assert.IsNull(info.EnsureVisibleOnCreate); @@ -103,5 +103,15 @@ // Assert TestHelper.AssertImagesAreEqual(RingtoetsCommonFormsResources.GeneralOutputIcon, image); } + + [Test] + public void ForeColor_Always_ReturnGrayText() + { + // Call + Color foreColor = info.ForeColor(null); + + // Assert + Assert.AreEqual(Color.FromKnownColor(KnownColor.GrayText), foreColor); + } } } \ No newline at end of file