Index: Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs
===================================================================
diff -u -r077432ea17ea347ddd489cb0905f1b5618eeb5ba -r29e5f1ed0694c7bad1d044b4e1dfd8b1c8415cb8
--- Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs (.../ExportableWaveConditionsFactory.cs) (revision 077432ea17ea347ddd489cb0905f1b5618eeb5ba)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.IO/WaveConditions/ExportableWaveConditionsFactory.cs (.../ExportableWaveConditionsFactory.cs) (revision 29e5f1ed0694c7bad1d044b4e1dfd8b1c8415cb8)
@@ -44,20 +44,24 @@
/// Thrown when
/// is null for .
public static IEnumerable CreateExportableWaveConditionsCollection(
- string name, WaveConditionsInput waveConditionsInput, IEnumerable columnsOutput, IEnumerable blocksOutput)
+ string name, WaveConditionsInput waveConditionsInput,
+ IEnumerable columnsOutput, IEnumerable blocksOutput)
{
if (name == null)
{
throw new ArgumentNullException(nameof(name));
}
+
if (waveConditionsInput == null)
{
throw new ArgumentNullException(nameof(waveConditionsInput));
}
+
if (columnsOutput == null)
{
throw new ArgumentNullException(nameof(columnsOutput));
}
+
if (blocksOutput == null)
{
throw new ArgumentNullException(nameof(blocksOutput));
@@ -67,12 +71,14 @@
foreach (WaveConditionsOutput waveConditionsOutput in columnsOutput)
{
- exportableWaveConditionsCollection.Add(new ExportableWaveConditions(name, waveConditionsInput, waveConditionsOutput, CoverType.StoneCoverColumns));
+ exportableWaveConditionsCollection.Add(new ExportableWaveConditions(name, waveConditionsInput, waveConditionsOutput,
+ CoverType.StoneCoverColumns));
}
foreach (WaveConditionsOutput blocksConditionsOutput in blocksOutput)
{
- exportableWaveConditionsCollection.Add(new ExportableWaveConditions(name, waveConditionsInput, blocksConditionsOutput, CoverType.StoneCoverBlocks));
+ exportableWaveConditionsCollection.Add(new ExportableWaveConditions(name, waveConditionsInput, blocksConditionsOutput,
+ CoverType.StoneCoverBlocks));
}
return exportableWaveConditionsCollection;
@@ -93,21 +99,25 @@
///
/// Thrown when
/// is null for .
- public static IEnumerable CreateExportableWaveConditionsCollection(string name, WaveConditionsInput waveConditionsInput,
- IEnumerable output, CoverType coverType)
+ public static IEnumerable CreateExportableWaveConditionsCollection(
+ string name, WaveConditionsInput waveConditionsInput,
+ IEnumerable output, CoverType coverType)
{
if (name == null)
{
throw new ArgumentNullException(nameof(name));
}
+
if (waveConditionsInput == null)
{
throw new ArgumentNullException(nameof(waveConditionsInput));
}
+
if (output == null)
{
throw new ArgumentNullException(nameof(output));
}
+
if (coverType == null)
{
throw new ArgumentNullException(nameof(coverType));
Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/WaveConditions/ExportableWaveConditionsFactoryTest.cs
===================================================================
diff -u -r04631cf165cef499de6e1dfd58c42fe494e64dd9 -r29e5f1ed0694c7bad1d044b4e1dfd8b1c8415cb8
--- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/WaveConditions/ExportableWaveConditionsFactoryTest.cs (.../ExportableWaveConditionsFactoryTest.cs) (revision 04631cf165cef499de6e1dfd58c42fe494e64dd9)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/WaveConditions/ExportableWaveConditionsFactoryTest.cs (.../ExportableWaveConditionsFactoryTest.cs) (revision 29e5f1ed0694c7bad1d044b4e1dfd8b1c8415cb8)
@@ -155,7 +155,7 @@
}
[Test]
- public void CreateExportableWaveConditionsCollection_NameNullWithCoverType_ThrowArgumentNullException()
+ public void CreateExportableWaveConditionsCollectionWithCoverType_NameNull_ThrowArgumentNullException()
{
// Call
TestDelegate call = () => ExportableWaveConditionsFactory.CreateExportableWaveConditionsCollection(null,
@@ -169,7 +169,7 @@
}
[Test]
- public void CreateExportableWaveConditionsCollection_WaveConditionsInputNullWithCoverType_ThrowArgumentNullException()
+ public void CreateExportableWaveConditionsCollectionWithCoverType_WaveConditionsInputNull_ThrowArgumentNullException()
{
// Call
TestDelegate call = () => ExportableWaveConditionsFactory.CreateExportableWaveConditionsCollection("aName",
@@ -183,7 +183,7 @@
}
[Test]
- public void CreateExportableWaveConditionsCollection_OutputNull_ThrowArgumentNullException()
+ public void CreateExportableWaveConditionsCollectionWithCoverType_OutputNull_ThrowArgumentNullException()
{
// Call
TestDelegate call = () => ExportableWaveConditionsFactory.CreateExportableWaveConditionsCollection("aName",
@@ -197,7 +197,7 @@
}
[Test]
- public void CreateExportableWaveConditionsCollection_CoverTypeNull_ThrowArgumentNullException()
+ public void CreateExportableWaveConditionsCollectionWithCoverType_CoverTypeNull_ThrowArgumentNullException()
{
// Call
TestDelegate call = () => ExportableWaveConditionsFactory.CreateExportableWaveConditionsCollection("aName",
@@ -211,7 +211,7 @@
}
[Test]
- public void CreateExportableWaveConditionsCollection_ValidDataWithCoverType_ReturnsValidCollection()
+ public void CreateExportableWaveConditionsCollectionWithCoverType_ValidDataWithCoverType_ReturnsValidCollection()
{
// Setup
var waveConditionsInput = new TestWaveConditionsInput