Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableCombinedSectionAssemblyCollection.cs =================================================================== diff -u --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableCombinedSectionAssemblyCollection.cs (revision 0) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Assembly/ExportableCombinedSectionAssemblyCollection.cs (revision 9377aace11d9280d2eefbe64b004517c1731a8c9) @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; + +namespace Ringtoets.Integration.IO.Assembly +{ + /// + /// Class that holds all the information to export a collection + /// of . + /// + public class ExportableCombinedSectionAssemblyCollection + { + /// + /// Creates a new instance of . + /// + /// The sections belonging to this collection of . + /// The collection of . + /// Thrown when any parameter is null. + public ExportableCombinedSectionAssemblyCollection(IEnumerable sections, + IEnumerable combinedSectionAssemblyResults) + { + if (sections == null) + { + throw new ArgumentNullException(nameof(sections)); + } + + if (combinedSectionAssemblyResults == null) + { + throw new ArgumentNullException(nameof(combinedSectionAssemblyResults)); + } + + Sections = sections; + CombinedSectionAssemblyResults = combinedSectionAssemblyResults; + } + + /// + /// Gets the sections belonging to this collection of . + /// + public IEnumerable Sections { get; } + + /// + /// Gets the collection of . + /// + public IEnumerable CombinedSectionAssemblyResults { get; } + } +} \ No newline at end of file Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj =================================================================== diff -u -r719d0e6a2b96f912e844a16cfc96c4f7c8da62b7 -r9377aace11d9280d2eefbe64b004517c1731a8c9 --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision 719d0e6a2b96f912e844a16cfc96c4f7c8da62b7) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Ringtoets.Integration.IO.csproj (.../Ringtoets.Integration.IO.csproj) (revision 9377aace11d9280d2eefbe64b004517c1731a8c9) @@ -21,6 +21,7 @@ + Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableCombinedSectionAssemblyCollectionTest.cs =================================================================== diff -u --- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableCombinedSectionAssemblyCollectionTest.cs (revision 0) +++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Assembly/ExportableCombinedSectionAssemblyCollectionTest.cs (revision 9377aace11d9280d2eefbe64b004517c1731a8c9) @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using NUnit.Framework; +using Ringtoets.Integration.IO.Assembly; + +namespace Ringtoets.Integration.IO.Test.Assembly +{ + [TestFixture] + public class ExportableCombinedSectionAssemblyCollectionTest + { + [Test] + public void Constructor_SectionsNull_ThrowsArgumentNullException() + { + // Call + TestDelegate call = () => new ExportableCombinedSectionAssemblyCollection(null, + Enumerable.Empty()); + + // Assert + var exception = Assert.Throws(call); + Assert.AreEqual("sections", exception.ParamName); + } + + [Test] + public void Constructor_CombinedSectionAssemblyResultsNull_ThrowsArgumentNullException() + { + // Call + TestDelegate call = () => new ExportableCombinedSectionAssemblyCollection(Enumerable.Empty(), + null); + + // Assert + var exception = Assert.Throws(call); + Assert.AreEqual("combinedSectionAssemblyResults", exception.ParamName); + } + + + [Test] + public void Constructor_ExpectedValues() + { + // Setup + IEnumerable sections = Enumerable.Empty(); + IEnumerable combinedSectionAssemblyResults = Enumerable.Empty(); + + // Call + var assembly = new ExportableCombinedSectionAssemblyCollection(sections, combinedSectionAssemblyResults); + + // Assert + Assert.AreSame(sections, assembly.Sections); + Assert.AreSame(combinedSectionAssemblyResults, assembly.CombinedSectionAssemblyResults); + } + } +} \ No newline at end of file Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj =================================================================== diff -u -rc92cbdd379cb7fccfd80a39507b064cbfba180a1 -r9377aace11d9280d2eefbe64b004517c1731a8c9 --- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj (.../Ringtoets.Integration.IO.Test.csproj) (revision c92cbdd379cb7fccfd80a39507b064cbfba180a1) +++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Ringtoets.Integration.IO.Test.csproj (.../Ringtoets.Integration.IO.Test.csproj) (revision 9377aace11d9280d2eefbe64b004517c1731a8c9) @@ -24,6 +24,7 @@ +