Index: Ringtoets/Common/test/Ringtoets.Common.Plugin.TestUtil/HydraulicBoundaryLocationCalculationActivityLogTestHelper.cs =================================================================== diff -u -r9fb6b330d45af8ac4ebdf127bb5907781cdb5155 -r25bf6e3f781ca5dec80f4fbf88ae640dbf40e2da --- Ringtoets/Common/test/Ringtoets.Common.Plugin.TestUtil/HydraulicBoundaryLocationCalculationActivityLogTestHelper.cs (.../HydraulicBoundaryLocationCalculationActivityLogTestHelper.cs) (revision 9fb6b330d45af8ac4ebdf127bb5907781cdb5155) +++ Ringtoets/Common/test/Ringtoets.Common.Plugin.TestUtil/HydraulicBoundaryLocationCalculationActivityLogTestHelper.cs (.../HydraulicBoundaryLocationCalculationActivityLogTestHelper.cs) (revision 25bf6e3f781ca5dec80f4fbf88ae640dbf40e2da) @@ -37,28 +37,30 @@ /// /// The name of the location. /// The display name of the type of calculation being performed. + /// The display name of the calculation being performed. /// The category boundary name of the calculation. /// The log messages to assert. /// The index to start asserting from. /// Thrown when /// contains incorrect messages. public static void AssertHydraulicBoundaryLocationCalculationMessages(string locationName, string calculationTypeDisplayName, + string calculationDisplayName, string categoryName, IEnumerable actualMessages, int startIndex) { - Assert.AreEqual($"{calculationTypeDisplayName} berekenen voor locatie '{locationName}' (Categorie {categoryName}) is gestart.", + Assert.AreEqual($"{calculationTypeDisplayName} berekenen voor locatie '{locationName}' (Categorie {categoryName}) is gestart.", actualMessages.ElementAt(startIndex)); CalculationServiceTestHelper.AssertValidationStartMessage(actualMessages.ElementAt(startIndex + 1)); CalculationServiceTestHelper.AssertValidationEndMessage(actualMessages.ElementAt(startIndex + 2)); CalculationServiceTestHelper.AssertCalculationStartMessage(actualMessages.ElementAt(startIndex + 3)); - Assert.AreEqual($"{calculationTypeDisplayName} berekening voor locatie '{locationName}' (Categorie {categoryName}) is niet geconvergeerd.", + Assert.AreEqual($"{calculationDisplayName} voor locatie '{locationName}' (Categorie {categoryName}) is niet geconvergeerd.", actualMessages.ElementAt(startIndex + 4)); - StringAssert.StartsWith($"{calculationTypeDisplayName} berekening is uitgevoerd op de tijdelijke locatie", + StringAssert.StartsWith($"{calculationDisplayName} is uitgevoerd op de tijdelijke locatie", actualMessages.ElementAt(startIndex + 5)); CalculationServiceTestHelper.AssertCalculationEndMessage(actualMessages.ElementAt(startIndex + 6)); - Assert.AreEqual($"{calculationTypeDisplayName} berekenen voor locatie '{locationName}' (Categorie {categoryName}) is gelukt.", + Assert.AreEqual($"{calculationTypeDisplayName} berekenen voor locatie '{locationName}' (Categorie {categoryName}) is gelukt.", actualMessages.ElementAt(startIndex + 7)); } }