Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs =================================================================== diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -re34e373c61eb0d54ea931f7d43e0ed7ab709760b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs (.../StabilityPointStructuresContextImportInfoTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/ImportInfos/StabilityPointStructuresContextImportInfoTest.cs (.../StabilityPointStructuresContextImportInfoTest.cs) (revision e34e373c61eb0d54ea931f7d43e0ed7ab709760b) @@ -51,10 +51,9 @@ // Setup var mocks = new MockRepository(); var assessmentSection = mocks.Stub(); + assessmentSection.Stub(a => a.ReferenceLine).Return(new ReferenceLine()); mocks.ReplayAll(); - - assessmentSection.ReferenceLine = new ReferenceLine(); - + var failureMechanism = new StabilityPointStructuresFailureMechanism(); var importTarget = new StabilityPointStructuresContext(failureMechanism.StabilityPointStructures, @@ -145,7 +144,7 @@ // Setup var mocks = new MockRepository(); var assessmentSection = mocks.Stub(); - assessmentSection.ReferenceLine = new ReferenceLine(); + assessmentSection.Stub(a => a.ReferenceLine).Return(new ReferenceLine()); mocks.ReplayAll(); var failureMechanism = new StabilityPointStructuresFailureMechanism(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresContextUpdateInfoTest.cs =================================================================== diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -re34e373c61eb0d54ea931f7d43e0ed7ab709760b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresContextUpdateInfoTest.cs (.../StabilityPointStructuresContextUpdateInfoTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresContextUpdateInfoTest.cs (.../StabilityPointStructuresContextUpdateInfoTest.cs) (revision e34e373c61eb0d54ea931f7d43e0ed7ab709760b) @@ -171,10 +171,9 @@ // Setup var mocks = new MockRepository(); var assessmentSection = mocks.Stub(); + assessmentSection.Stub(a => a.ReferenceLine).Return(new ReferenceLine()); mocks.ReplayAll(); - assessmentSection.ReferenceLine = new ReferenceLine(); - var failureMechanism = new StabilityPointStructuresFailureMechanism(); var structures = new StructureCollection(); Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresFailureMechanismSectionsContextUpdateInfoTest.cs =================================================================== diff -u -r2a81f01756e227d5ce93717b21b87e8a5cd5fcbb -re34e373c61eb0d54ea931f7d43e0ed7ab709760b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresFailureMechanismSectionsContextUpdateInfoTest.cs (.../StabilityPointStructuresFailureMechanismSectionsContextUpdateInfoTest.cs) (revision 2a81f01756e227d5ce93717b21b87e8a5cd5fcbb) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Plugin.Test/UpdateInfos/StabilityPointStructuresFailureMechanismSectionsContextUpdateInfoTest.cs (.../StabilityPointStructuresFailureMechanismSectionsContextUpdateInfoTest.cs) (revision e34e373c61eb0d54ea931f7d43e0ed7ab709760b) @@ -162,7 +162,7 @@ // Setup var mocks = new MockRepository(); var assessmentSection = mocks.Stub(); - assessmentSection.ReferenceLine = new ReferenceLine(); + assessmentSection.Stub(a => a.ReferenceLine).Return(new ReferenceLine()); mocks.ReplayAll(); var failureMechanism = new StabilityPointStructuresFailureMechanism();