Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs =================================================================== diff -u -rf2f7d22ee59276f5df1f83fd409899bd895ea163 -re739085ac2c48076c685d31db1469b65f3f656ea --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs (.../AssessmentSectionTreeNodeInfoTest.cs) (revision f2f7d22ee59276f5df1f83fd409899bd895ea163) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/AssessmentSectionTreeNodeInfoTest.cs (.../AssessmentSectionTreeNodeInfoTest.cs) (revision e739085ac2c48076c685d31db1469b65f3f656ea) @@ -71,7 +71,7 @@ Assert.IsNotNull(info.Image); Assert.IsNotNull(info.ContextMenuStrip); Assert.IsNotNull(info.EnsureVisibleOnCreate); - Assert.IsNull(info.ExpandOnCreate); + Assert.IsNotNull(info.ExpandOnCreate); Assert.IsNotNull(info.ChildNodeObjects); Assert.IsNotNull(info.CanRename); Assert.IsNotNull(info.OnNodeRenamed); @@ -148,6 +148,25 @@ } [Test] + public void ExpandOnCreate_Always_ReturnsTrue() + { + // Setup + mocks.ReplayAll(); + + using (var plugin = new RingtoetsPlugin()) + { + var info = GetInfo(plugin); + + // Call + var result = info.ExpandOnCreate(null); + + // Assert + Assert.IsTrue(result); + } + mocks.VerifyAll(); + } + + [Test] public void ChildNodeObjects_Always_ReturnsChildrenOfData() { // Setup