Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs =================================================================== diff -u -r219bf641fa81657e9d154c9cb50245af9b2ebe27 -r6b9fda141298524c0910937dd090d82be420c52b --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs (.../HeightStructuresInputContextTreeNodeInfoTest.cs) (revision 219bf641fa81657e9d154c9cb50245af9b2ebe27) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/TreeNodeInfos/HeightStructuresInputContextTreeNodeInfoTest.cs (.../HeightStructuresInputContextTreeNodeInfoTest.cs) (revision 6b9fda141298524c0910937dd090d82be420c52b) @@ -88,15 +88,14 @@ public void Text_Always_ReturnsTextFromResource() { // Setup - var assessmentSectionMock = mocksRepository.StrictMock(); + var assessmentSectionMock = mocksRepository.Stub(); + mocksRepository.ReplayAll(); + var heightStructuresInputContext = new HeightStructuresInputContext( new HeightStructuresInput(), - new HeightStructuresCalculation(), new HeightStructuresFailureMechanism(), assessmentSectionMock); - mocksRepository.ReplayAll(); - // Call var text = info.Text(heightStructuresInputContext); @@ -108,15 +107,14 @@ public void Image_Always_ReturnsSetImage() { // Setup - var assessmentSectionMock = mocksRepository.StrictMock(); + var assessmentSectionMock = mocksRepository.Stub(); + mocksRepository.ReplayAll(); + var heightStructuresInputContext = new HeightStructuresInputContext( new HeightStructuresInput(), - new HeightStructuresCalculation(), new HeightStructuresFailureMechanism(), assessmentSectionMock); - mocksRepository.ReplayAll(); - // Call var image = info.Image(heightStructuresInputContext);