Index: Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorTest.cs =================================================================== diff -u -r9f244919473b0a2faf72a567c632d0f39a2cff2e -rc749eeafa503e1be4f886f01d64ad35f09bd748b --- Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorTest.cs (.../FailureMechanismSectionAssemblyCalculatorTest.cs) (revision 9f244919473b0a2faf72a567c632d0f39a2cff2e) +++ Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Calculators/Assembly/FailureMechanismSectionAssemblyCalculatorTest.cs (.../FailureMechanismSectionAssemblyCalculatorTest.cs) (revision c749eeafa503e1be4f886f01d64ad35f09bd748b) @@ -43,6 +43,17 @@ public class FailureMechanismSectionAssemblyCalculatorTest { [Test] + public void Constructor_FactoryNull_ThrowsArgumentNullException() + { + // Call + void Call() => new FailureMechanismSectionAssemblyCalculator(null); + + // Assert + var exception = Assert.Throws(Call); + Assert.AreEqual("factory", exception.ParamName); + } + + [Test] public void Constructor_ExpectedValues() { // Setup @@ -59,17 +70,6 @@ } [Test] - public void Constructor_FactoryNull_ThrowsArgumentNullException() - { - // Call - void Call() => new FailureMechanismSectionAssemblyCalculator(null); - - // Assert - var exception = Assert.Throws(Call); - Assert.AreEqual("factory", exception.ParamName); - } - - [Test] public void AssembleFailureMechanismSection_InputNull_ThrowsArgumentNullException() { // Setup Index: Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Creators/AssemblyErrorMessageCreatorTest.cs =================================================================== diff -u -r00e1ec8175bfef74547ef4f206d80b44d73484c7 -rc749eeafa503e1be4f886f01d64ad35f09bd748b --- Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Creators/AssemblyErrorMessageCreatorTest.cs (.../AssemblyErrorMessageCreatorTest.cs) (revision 00e1ec8175bfef74547ef4f206d80b44d73484c7) +++ Riskeer/AssemblyTool/test/Riskeer.AssemblyTool.KernelWrapper.Test/Creators/AssemblyErrorMessageCreatorTest.cs (.../AssemblyErrorMessageCreatorTest.cs) (revision c749eeafa503e1be4f886f01d64ad35f09bd748b) @@ -1,4 +1,25 @@ -using System; +// Copyright (C) Stichting Deltares 2021. 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; using System.ComponentModel; using System.Linq; using Assembly.Kernel.Exceptions;