Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/TopLevelFaultTreeIllustrationPointPropertyInfoTest.cs
===================================================================
diff -u
--- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/TopLevelFaultTreeIllustrationPointPropertyInfoTest.cs (revision 0)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/TopLevelFaultTreeIllustrationPointPropertyInfoTest.cs (revision 0a8c6f4db5bd26539d8c05d3e0244e656d4720e5)
@@ -0,0 +1,76 @@
+// Copyright (C) Stichting Deltares 2017. All rights reserved.
+//
+// This file is part of Ringtoets.
+//
+// Ringtoets is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Linq;
+using Core.Common.Gui.Plugin;
+using Core.Common.Gui.PropertyBag;
+using NUnit.Framework;
+using Ringtoets.Common.Data.IllustrationPoints;
+using Ringtoets.Common.Data.TestUtil.IllustrationPoints;
+using Ringtoets.Common.Forms.PropertyClasses;
+
+namespace Ringtoets.Integration.Plugin.Test.PropertyInfos
+{
+ [TestFixture]
+ public class TopLevelFaultTreeIllustrationPointPropertyInfoTest
+ {
+ private RingtoetsPlugin plugin;
+ private PropertyInfo info;
+
+ [SetUp]
+ public void SetUp()
+ {
+ plugin = new RingtoetsPlugin();
+ info = plugin.GetPropertyInfos().First(tni => tni.DataType == typeof(TopLevelFaultTreeIllustrationPoint));
+ }
+
+ [TearDown]
+ public void TearDown()
+ {
+ plugin.Dispose();
+ }
+
+ [Test]
+ public void Initialized_Always_ExpectedPropertiesSet()
+ {
+ // Assert
+ Assert.AreEqual(typeof(TopLevelFaultTreeIllustrationPoint), info.DataType);
+ Assert.AreEqual(typeof(FaultTreeIllustrationPointBaseProperties), info.PropertyObjectType);
+ }
+
+ [Test]
+ public void CreateInstance_StructuresOutputContext_ReturnStructuresOutputProperties()
+ {
+ // Setup
+ var topLevelFaultTreeIllustrationPoint = new TopLevelFaultTreeIllustrationPoint(
+ WindDirectionTestFactory.CreateTestWindDirection(),
+ "Closing situation",
+ new IllustrationPointNode(new TestIllustrationPoint()));
+
+ // Call
+ IObjectProperties objectProperties = info.CreateInstance(topLevelFaultTreeIllustrationPoint);
+
+ // Assert
+ Assert.IsInstanceOf(objectProperties);
+ Assert.AreSame(topLevelFaultTreeIllustrationPoint, objectProperties.Data);
+ }
+ }
+}
\ No newline at end of file
Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj
===================================================================
diff -u -raabaa33e54f9ebb10c850d7d8964dc0a692e5535 -r0a8c6f4db5bd26539d8c05d3e0244e656d4720e5
--- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision aabaa33e54f9ebb10c850d7d8964dc0a692e5535)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision 0a8c6f4db5bd26539d8c05d3e0244e656d4720e5)
@@ -87,6 +87,7 @@
+