Index: Riskeer/Piping/src/Riskeer.Piping.Data/PipingInput.cs =================================================================== diff -u -r834475416d51381db0067470bbce8dc1800f831e -r9bac82bab68867670a2f2dcd41bf9ee29ebf2da9 --- Riskeer/Piping/src/Riskeer.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 834475416d51381db0067470bbce8dc1800f831e) +++ Riskeer/Piping/src/Riskeer.Piping.Data/PipingInput.cs (.../PipingInput.cs) (revision 9bac82bab68867670a2f2dcd41bf9ee29ebf2da9) @@ -37,7 +37,7 @@ /// /// Base class for piping calculation specific input parameters, i.e. values that can differ across various calculations. /// - public class PipingInput : CloneableObservable, ICalculationInputWithHydraulicBoundaryLocation + public abstract class PipingInput : CloneableObservable, ICalculationInputWithHydraulicBoundaryLocation { private readonly GeneralPipingInput generalInputParameters; private NormalDistribution phreaticLevelExit; @@ -53,7 +53,7 @@ /// piping calculations. /// Thrown when /// is null. - public PipingInput(GeneralPipingInput generalInputParameters) + protected PipingInput(GeneralPipingInput generalInputParameters) { if (generalInputParameters == null) { Index: Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingInput.cs =================================================================== diff -u --- Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingInput.cs (revision 0) +++ Riskeer/Piping/test/Riskeer.Piping.Data.TestUtil/TestPipingInput.cs (revision 9bac82bab68867670a2f2dcd41bf9ee29ebf2da9) @@ -0,0 +1,45 @@ +// Copyright (C) Stichting Deltares 2019. All rights reserved. +// +// This file is part of Riskeer. +// +// Riskeer 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; + +namespace Riskeer.Piping.Data.TestUtil +{ + /// + /// Piping input that can be used for testing. + /// + public class TestPipingInput : PipingInput + { + /// + /// Creates a new instance of with default . + /// + public TestPipingInput() : base(new GeneralPipingInput()) {} + + /// + /// Creates a new instance of . + /// + /// General piping calculation parameters that are the same across all + /// piping calculations. + /// Thrown when + /// is null. + public TestPipingInput(GeneralPipingInput generalInputParameters) : base(generalInputParameters) {} + } +} \ No newline at end of file