Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -rc0d30f326bbc7308be94ba7a77ee37744cb7bee5 -rd72a7a2a430e8adaaf5357c10feb66e1f715d3b6 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationContextTreeNodeInfoTest.cs) (revision c0d30f326bbc7308be94ba7a77ee37744cb7bee5) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Forms.Test/TreeNodeInfos/ClosingStructuresCalculationContextTreeNodeInfoTest.cs (.../ClosingStructuresCalculationContextTreeNodeInfoTest.cs) (revision d72a7a2a430e8adaaf5357c10feb66e1f715d3b6) @@ -45,7 +45,6 @@ using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Data.Probability; using Ringtoets.Common.Data.Structures; -using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.HydraRing.Calculation.TestUtil.Calculator; using Ringtoets.HydraRing.Data; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; @@ -142,9 +141,8 @@ // Assert Assert.AreEqual(3, children.Length); - var commentContext = children[0] as CommentContext; - Assert.IsNotNull(commentContext); - Assert.AreSame(calculationContext.WrappedData.Comments, commentContext.WrappedData); + var comment = children[0] as Comment; + Assert.AreSame(calculationContext.WrappedData.Comments, comment); var closingStructuresInputContext = children[1] as ClosingStructuresInputContext; Assert.IsNotNull(closingStructuresInputContext); @@ -173,9 +171,8 @@ // Assert Assert.AreEqual(3, children.Length); - var commentContext = children[0] as CommentContext; - Assert.IsNotNull(commentContext); - Assert.AreSame(calculationContext.WrappedData.Comments, commentContext.WrappedData); + var comment = children[0] as Comment; + Assert.AreSame(calculationContext.WrappedData.Comments, comment); var closingStructuresInputContext = children[1] as ClosingStructuresInputContext; Assert.IsNotNull(closingStructuresInputContext);