Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs =================================================================== diff -u -r8b0dd5111c3972c3a64705f82b7b11330b9136c5 -ra5d1958dfb9ce3963ce5695eeea66f2ce8065c1b --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 8b0dd5111c3972c3a64705f82b7b11330b9136c5) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision a5d1958dfb9ce3963ce5695eeea66f2ce8065c1b) @@ -247,7 +247,7 @@ yield return new TreeNodeInfo { - Text = context => RingtoetsGrassCoverErosionOutwardsFormsResources.GrassCoverErosionOutwardsWaveHeightCalculationsContext_DisplayName, + Text = context => context.CategoryBoundaryName, Image = context => RingtoetsCommonFormsResources.GenericInputOutputIcon, ContextMenuStrip = GrassCoverErosionOutwardsWaveHeightCalculationsContextMenuStrip }; Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -rb24c5545e830f4418c0412be6c51853467044865 -ra5d1958dfb9ce3963ce5695eeea66f2ce8065c1b --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision b24c5545e830f4418c0412be6c51853467044865) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsContextTreeNodeInfoTest.cs) (revision a5d1958dfb9ce3963ce5695eeea66f2ce8065c1b) @@ -93,14 +93,17 @@ } [Test] - public void Text_Always_ReturnName() + public void Text_Always_ReturnCategoryBoundaryName() { // Setup var assessmentSection = mockRepository.Stub(); mockRepository.ReplayAll(); + + const string categoryBoundaryName = "Category"; var context = new GrassCoverErosionOutwardsWaveHeightCalculationsContext(new ObservableList(), new GrassCoverErosionOutwardsFailureMechanism(), - assessmentSection, () => 0.1, "Test"); + assessmentSection, () => 0.1, + categoryBoundaryName); using (var plugin = new GrassCoverErosionOutwardsPlugin()) { @@ -109,7 +112,7 @@ string nodeText = info.Text(context); // Assert - Assert.AreEqual("Golfhoogtes bij doorsnede-eis", nodeText); + Assert.AreEqual(categoryBoundaryName, nodeText); } mockRepository.VerifyAll();