Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs =================================================================== diff -u -r5d503cf8885ced4799e5ad44242038d99e04b162 -r7823eab06c968c167d9d5b24a30acaa344478dc0 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs (.../HeightStructuresInputContextTreeNodeInfoTest.cs) (revision 5d503cf8885ced4799e5ad44242038d99e04b162) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs (.../HeightStructuresInputContextTreeNodeInfoTest.cs) (revision 7823eab06c968c167d9d5b24a30acaa344478dc0) @@ -91,9 +91,12 @@ var assessmentSectionStub = mocksRepository.Stub(); mocksRepository.ReplayAll(); - var heightStructuresInputContext = new HeightStructuresInputContext(new HeightStructuresCalculation(), - new HeightStructuresFailureMechanism(), - assessmentSectionStub); + var heightStructuresCalculation = new HeightStructuresCalculation(); + var heightStructuresInputContext = new HeightStructuresInputContext( + heightStructuresCalculation.InputParameters, + heightStructuresCalculation, + new HeightStructuresFailureMechanism(), + assessmentSectionStub); // Call var text = info.Text(heightStructuresInputContext); @@ -106,12 +109,15 @@ public void Image_Always_ReturnsSetImage() { // Setup - var assessmentSectionStub = mocksRepository.Stub(); + var assessmentSectionStub = mocksRepository.Stub(); mocksRepository.ReplayAll(); - var heightStructuresInputContext = new HeightStructuresInputContext(new HeightStructuresCalculation(), - new HeightStructuresFailureMechanism(), - assessmentSectionStub); + var heightStructuresCalculation = new HeightStructuresCalculation(); + var heightStructuresInputContext = new HeightStructuresInputContext( + heightStructuresCalculation.InputParameters, + heightStructuresCalculation, + new HeightStructuresFailureMechanism(), + assessmentSectionStub); // Call var image = info.Image(heightStructuresInputContext);