Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -r58d429ac22e6e6cb36de3b1d3b18c63500675049 -r08ef678e503f67de771f08aa7ec42706fc484fc7 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../ClosingStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 58d429ac22e6e6cb36de3b1d3b18c63500675049) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/ClosingStructures/ClosingStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../ClosingStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 08ef678e503f67de771f08aa7ec42706fc484fc7) @@ -47,7 +47,7 @@ } [Test] - public void Create_WithoutPersistenceRegistry_ThrowsArgumentNullException() + public void Create_PersistencyRegistryNull_ThrowsArgumentNullException() { // Setup var sectionResult = new ClosingStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); @@ -56,7 +56,8 @@ TestDelegate test = () => sectionResult.Create(null); // Assert - Assert.Throws(test); + var exception = Assert.Throws(test); + Assert.AreEqual("registry", exception.ParamName); } [Test]