Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs =================================================================== diff -u -rd8ca552454f8c1bf36269890b70f104c810fbf7f -r39ad631dab6b2ae544ccdabf22fad6b4e5493218 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs (.../AssessmentSectionBaseTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs (.../AssessmentSectionBaseTreeNodeInfoTest.cs) (revision 39ad631dab6b2ae544ccdabf22fad6b4e5493218) @@ -37,7 +37,6 @@ // Assert Assert.AreEqual(typeof(AssessmentSectionBase), info.TagType); Assert.IsNull(info.ForeColor); - Assert.IsNull(info.EnsureVisibleOnCreate); Assert.IsNull(info.CanCheck); Assert.IsNull(info.IsChecked); Assert.IsNull(info.OnNodeChecked); @@ -84,6 +83,23 @@ } [Test] + public void EnsureVisibleOnCreate_Always_ReturnsTrue() + { + // Setup + var assessmentSection = mocks.StrictMock(); + + mocks.ReplayAll(); + + // Call + var result = info.EnsureVisibleOnCreate(assessmentSection); + + // Assert + Assert.IsTrue(result); + + mocks.VerifyAll(); + } + + [Test] public void ChildNodeObjects_Always_ReturnsChildsOnData() { // Setup