Index: Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs =================================================================== diff -u -r8dffc1176f65b6c14ce7d3f5f91b51404d57b75e -reb812a61015ed168e94ac94a097f73f5793516ee --- Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs (.../GrassCoverErosionInwardsPlugin.cs) (revision 8dffc1176f65b6c14ce7d3f5f91b51404d57b75e) +++ Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs (.../GrassCoverErosionInwardsPlugin.cs) (revision eb812a61015ed168e94ac94a097f73f5793516ee) @@ -515,7 +515,6 @@ { return new object[] { - new GrassCoverErosionInwardsFailureMechanismSectionsContext(failureMechanism, assessmentSection), new DikeProfilesContext(failureMechanism.DikeProfiles, failureMechanism, assessmentSection), failureMechanism.InputComments }; Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationsContextTreeNodeInfoTest.cs =================================================================== diff -u -r8dffc1176f65b6c14ce7d3f5f91b51404d57b75e -reb812a61015ed168e94ac94a097f73f5793516ee --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationsContextTreeNodeInfoTest.cs) (revision 8dffc1176f65b6c14ce7d3f5f91b51404d57b75e) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionInwardsCalculationsContextTreeNodeInfoTest.cs (.../GrassCoverErosionInwardsCalculationsContextTreeNodeInfoTest.cs) (revision eb812a61015ed168e94ac94a097f73f5793516ee) @@ -114,17 +114,14 @@ Assert.AreEqual("Invoer", inputsFolder.Name); Assert.AreEqual(TreeFolderCategory.Input, inputsFolder.Category); - Assert.AreEqual(3, inputsFolder.Contents.Count()); - var failureMechanismSectionsContext = (GrassCoverErosionInwardsFailureMechanismSectionsContext) inputsFolder.Contents.ElementAt(0); - Assert.AreSame(failureMechanism, failureMechanismSectionsContext.WrappedData); - Assert.AreSame(assessmentSection, failureMechanismSectionsContext.AssessmentSection); + Assert.AreEqual(2, inputsFolder.Contents.Count()); - var dikeProfilesContext = (DikeProfilesContext) inputsFolder.Contents.ElementAt(1); + var dikeProfilesContext = (DikeProfilesContext) inputsFolder.Contents.ElementAt(0); Assert.AreSame(failureMechanism.DikeProfiles, dikeProfilesContext.WrappedData); Assert.AreSame(failureMechanism, dikeProfilesContext.ParentFailureMechanism); Assert.AreSame(assessmentSection, dikeProfilesContext.ParentAssessmentSection); - var inputComment = (Comment) inputsFolder.Contents.ElementAt(2); + var inputComment = (Comment) inputsFolder.Contents.ElementAt(1); Assert.AreSame(failureMechanism.InputComments, inputComment); var calculationsFolder = (GrassCoverErosionInwardsCalculationGroupContext) children[1];