Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj
===================================================================
diff -u -r446a9faeda7106403740326d16186c281d8a6542 -rffa827b1d7c3116e5d94620074e716e39febcc19
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj (.../Core.Components.Gis.TestUtil.Test.csproj) (revision 446a9faeda7106403740326d16186c281d8a6542)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/Core.Components.Gis.TestUtil.Test.csproj (.../Core.Components.Gis.TestUtil.Test.csproj) (revision ffa827b1d7c3116e5d94620074e716e39febcc19)
@@ -20,6 +20,7 @@
+
Index: Core/Components/test/Core.Components.Gis.TestUtil.Test/ValueCriterionTestFactoryTest.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil.Test/ValueCriterionTestFactoryTest.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil.Test/ValueCriterionTestFactoryTest.cs (revision ffa827b1d7c3116e5d94620074e716e39febcc19)
@@ -0,0 +1,41 @@
+// Copyright (C) Stichting Deltares 2018. 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Theme;
+using NUnit.Framework;
+
+namespace Core.Components.Gis.TestUtil.Test
+{
+ [TestFixture]
+ public class ValueCriterionTestFactoryTest
+ {
+ [Test]
+ public void CreateValueCriterion_Always_ReturnsExpectedValues()
+ {
+ // Call
+ ValueCriterion criterion = ValueCriterionTestFactory.CreateValueCriterion();
+
+ // Assert
+ Assert.AreEqual("value", criterion.Value);
+ Assert.AreEqual(ValueCriterionOperator.EqualValue, criterion.ValueOperator);
+ }
+ }
+}
\ No newline at end of file
Index: Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj
===================================================================
diff -u -r446a9faeda7106403740326d16186c281d8a6542 -rffa827b1d7c3116e5d94620074e716e39febcc19
--- Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj (.../Core.Components.Gis.TestUtil.csproj) (revision 446a9faeda7106403740326d16186c281d8a6542)
+++ Core/Components/test/Core.Components.Gis.TestUtil/Core.Components.Gis.TestUtil.csproj (.../Core.Components.Gis.TestUtil.csproj) (revision ffa827b1d7c3116e5d94620074e716e39febcc19)
@@ -17,6 +17,7 @@
+
Index: Core/Components/test/Core.Components.Gis.TestUtil/ValueCriterionTestFactory.cs
===================================================================
diff -u
--- Core/Components/test/Core.Components.Gis.TestUtil/ValueCriterionTestFactory.cs (revision 0)
+++ Core/Components/test/Core.Components.Gis.TestUtil/ValueCriterionTestFactory.cs (revision ffa827b1d7c3116e5d94620074e716e39febcc19)
@@ -0,0 +1,40 @@
+// Copyright (C) Stichting Deltares 2018. 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 Lesser 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 Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser 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 Core.Components.Gis.Theme;
+
+namespace Core.Components.Gis.TestUtil
+{
+ ///
+ /// Creates valid instances of which can be used for testing.
+ ///
+ public static class ValueCriterionTestFactory
+ {
+ ///
+ /// Creates a fully configured .
+ ///
+ /// A fully configured .
+ public static ValueCriterion CreateValueCriterion()
+ {
+ return new ValueCriterion(ValueCriterionOperator.EqualValue, "value");
+ }
+ }
+}
\ No newline at end of file