Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs =================================================================== diff -u -r2973c5f790a5131e427bd5f73e2a620044199639 -r512be2fce60457dd857f28a37a4f4d50562657e5 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 2973c5f790a5131e427bd5f73e2a620044199639) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationContextTreeNodeInfoTest.cs) (revision 512be2fce60457dd857f28a37a4f4d50562657e5) @@ -45,10 +45,9 @@ using Ringtoets.GrassCoverErosionOutwards.Data; using Ringtoets.GrassCoverErosionOutwards.Forms.PresentationObjects; using Ringtoets.GrassCoverErosionOutwards.Plugin; -using Ringtoets.HydraRing.Calculation.TestUtil; +using Ringtoets.HydraRing.Calculation.TestUtil.Calculator; using Ringtoets.HydraRing.Data; using Ringtoets.Revetment.Data; -using Ringtoets.Revetment.Service.TestUtil; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.GrassCoverErosionOutwards.Forms.Test.TreeNodeInfos @@ -875,8 +874,7 @@ plugin.Gui = gui; - using (new HydraRingCalculationServiceConfig()) - using (new WaveConditionsCalculationServiceConfig()) + using (new HydraRingCalculatorFactoryConfig()) using (ContextMenuStrip contextMenu = info.ContextMenuStrip(context, null, treeViewControl)) { // Precondition @@ -894,11 +892,10 @@ TestHelper.AssertLogMessages(call, logMessages => { var messages = logMessages.ToArray(); - Assert.AreEqual(9, messages.Length); - StringAssert.StartsWith("Berekening van 'A' gestart om: ", messages[0]); - StringAssert.StartsWith("Berekening van 'A' beƫindigd om: ", messages[7]); - StringAssert.StartsWith("Uitvoeren van 'A' is gelukt.", messages[8]); + Assert.AreEqual(11, messages.Length); }); + + Assert.AreEqual(3, calculation.Output.Items.Count()); } } }