Index: Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs =================================================================== diff -u -reabf1a800431a23b06c8d81dfbf0f46a71bb659b -r12cec002453a1828efc68633fbd25219632c6c47 --- Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs (.../ClosingStructureDataSynchronizationServiceTest.cs) (revision eabf1a800431a23b06c8d81dfbf0f46a71bb659b) +++ Ringtoets/ClosingStructures/test/Ringtoets.ClosingStructures.Service.Test/ClosingStructureDataSynchronizationServiceTest.cs (.../ClosingStructureDataSynchronizationServiceTest.cs) (revision 12cec002453a1828efc68633fbd25219632c6c47) @@ -332,7 +332,11 @@ CollectionAssert.IsNotEmpty(sectionResultsWithStructure); // Call - IEnumerable affectedObjects = ClosingStructuresDataSynchronizationService.RemoveStructure(failureMechanism, structure); + IEnumerable affectedObjects = RingtoetsCommonDataSynchronizationService.RemoveStructure( + structure, + failureMechanism.Calculations.Cast>(), + failureMechanism.ClosingStructures, + failureMechanism.SectionResults); // Assert // Note: To make sure the clear is performed regardless of what is done with