Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rd8ca552454f8c1bf36269890b70f104c810fbf7f -r39ad631dab6b2ae544ccdabf22fad6b4e5493218 --- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f) +++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 39ad631dab6b2ae544ccdabf22fad6b4e5493218) @@ -44,13 +44,32 @@ // Assert Assert.AreEqual(typeof(PipingCalculationGroupContext), info.TagType); Assert.IsNull(info.ForeColor); - Assert.IsNull(info.EnsureVisibleOnCreate); Assert.IsNull(info.CanCheck); Assert.IsNull(info.IsChecked); Assert.IsNull(info.OnNodeChecked); } [Test] + public void EnsureVisibleOnCreate_Always_ReturnsTrue() + { + // Setup + var group = new PipingCalculationGroup(); + var groupContext = new PipingCalculationGroupContext(group, + Enumerable.Empty(), + Enumerable.Empty()); + + mocks.ReplayAll(); + + // Call + var result = info.EnsureVisibleOnCreate(groupContext); + + // Assert + Assert.IsTrue(result); + + mocks.VerifyAll(); + } + + [Test] public void CanDrag_WithParentNodeDefaultBehavior_ReturnMove() { // Setup