Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs =================================================================== diff -u -re0ef393f7069a18d7e160aceaf91f603dfc8c5ae -r3292a560d2d391d3a7cfa75dd6c484f8f632a481 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision e0ef393f7069a18d7e160aceaf91f603dfc8c5ae) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs (.../HeightStructuresFailureMechanismSectionResultCreateExtensionsTest.cs) (revision 3292a560d2d391d3a7cfa75dd6c484f8f632a481) @@ -51,9 +51,11 @@ ) { // Setup - var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); - sectionResult.AssessmentLayerOne = assessmentLayerOneResult; - sectionResult.AssessmentLayerThree = (RoundedDouble) assessmentLayerThreeResult; + var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()) + { + AssessmentLayerOne = assessmentLayerOneResult, + AssessmentLayerThree = (RoundedDouble) assessmentLayerThreeResult + }; // Call var result = sectionResult.Create(new PersistenceRegistry()); @@ -67,8 +69,10 @@ public void Create_WithNaNLevel3Result_ReturnsEntityWithExpectedResults() { // Setup - var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()); - sectionResult.AssessmentLayerThree = (RoundedDouble) double.NaN; + var sectionResult = new HeightStructuresFailureMechanismSectionResult(new TestFailureMechanismSection()) + { + AssessmentLayerThree = (RoundedDouble) double.NaN + }; // Call var result = sectionResult.Create(new PersistenceRegistry());