Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/WaveHeightCalculationServiceTest.cs =================================================================== diff -u -rcdfbf84b1449ce60926c5fefd2a06085bcbefbe9 -r3ed8e00da47ef2780e79688a9902e12b674e4cc0 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/WaveHeightCalculationServiceTest.cs (.../WaveHeightCalculationServiceTest.cs) (revision cdfbf84b1449ce60926c5fefd2a06085bcbefbe9) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/WaveHeightCalculationServiceTest.cs (.../WaveHeightCalculationServiceTest.cs) (revision 3ed8e00da47ef2780e79688a9902e12b674e4cc0) @@ -62,8 +62,8 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(2, msgs.Length); - StringAssert.StartsWith($"Validatie van '{calculationName}' gestart om: ", msgs[0]); - StringAssert.StartsWith($"Validatie van '{calculationName}' beëindigd om: ", msgs[1]); + Assert.AreEqual($"Validatie van '{calculationName}' gestart.", msgs[0]); + Assert.AreEqual($"Validatie van '{calculationName}' beëindigd.", msgs[1]); }); Assert.IsTrue(valid); mockRepository.VerifyAll(); @@ -90,9 +90,9 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(3, msgs.Length); - StringAssert.StartsWith($"Validatie van '{calculationName}' gestart om: ", msgs[0]); + Assert.AreEqual($"Validatie van '{calculationName}' gestart.", msgs[0]); StringAssert.StartsWith("Herstellen van de verbinding met de hydraulische randvoorwaardendatabase is mislukt. Fout bij het lezen van bestand", msgs[1]); - StringAssert.StartsWith($"Validatie van '{calculationName}' beëindigd om: ", msgs[2]); + Assert.AreEqual($"Validatie van '{calculationName}' beëindigd.", msgs[2]); }); Assert.IsFalse(valid); mockRepository.VerifyAll(); @@ -119,9 +119,9 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(3, msgs.Length); - StringAssert.StartsWith($"Validatie van '{calculationName}' gestart om: ", msgs[0]); + Assert.AreEqual($"Validatie van '{calculationName}' gestart.", msgs[0]); StringAssert.StartsWith("Herstellen van de verbinding met de hydraulische randvoorwaardendatabase is mislukt. Fout bij het lezen van bestand", msgs[1]); - StringAssert.StartsWith($"Validatie van '{calculationName}' beëindigd om: ", msgs[2]); + Assert.AreEqual($"Validatie van '{calculationName}' beëindigd.", msgs[2]); }); Assert.IsFalse(valid); mockRepository.VerifyAll(); @@ -266,10 +266,10 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(4, msgs.Length); - StringAssert.StartsWith($"Berekening van '{calculationName}' gestart om: ", msgs[0]); + Assert.AreEqual($"Berekening van '{calculationName}' gestart.", msgs[0]); StringAssert.StartsWith(calculationFailedMessage, msgs[1]); StringAssert.StartsWith("Golfhoogte berekening is uitgevoerd op de tijdelijke locatie", msgs[2]); - StringAssert.StartsWith($"Berekening van '{calculationName}' beëindigd om: ", msgs[3]); + Assert.AreEqual($"Berekening van '{calculationName}' beëindigd.", msgs[3]); }); Assert.IsTrue(exceptionThrown); Assert.IsNaN(hydraulicBoundaryLocation.WaveHeight); @@ -328,10 +328,10 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(4, msgs.Length); - StringAssert.StartsWith($"Berekening van '{calculationName}' gestart om: ", msgs[0]); + Assert.AreEqual($"Berekening van '{calculationName}' gestart.", msgs[0]); StringAssert.StartsWith(calculationFailedMessage, msgs[1]); StringAssert.StartsWith("Golfhoogte berekening is uitgevoerd op de tijdelijke locatie", msgs[2]); - StringAssert.StartsWith($"Berekening van '{calculationName}' beëindigd om: ", msgs[3]); + Assert.AreEqual($"Berekening van '{calculationName}' beëindigd.", msgs[3]); }); Assert.IsTrue(exceptionThrown); Assert.IsNaN(hydraulicBoundaryLocation.WaveHeight); @@ -393,10 +393,10 @@ { string[] msgs = messages.ToArray(); Assert.AreEqual(4, msgs.Length); - StringAssert.StartsWith($"Berekening van '{calculationName}' gestart om: ", msgs[0]); + Assert.AreEqual($"Berekening van '{calculationName}' gestart.", msgs[0]); StringAssert.StartsWith(calculationFailedMessage, msgs[1]); StringAssert.StartsWith("Golfhoogte berekening is uitgevoerd op de tijdelijke locatie", msgs[2]); - StringAssert.StartsWith($"Berekening van '{calculationName}' beëindigd om: ", msgs[3]); + Assert.AreEqual($"Berekening van '{calculationName}' beëindigd.", msgs[3]); }); Assert.IsTrue(exceptionThrown); Assert.IsNaN(hydraulicBoundaryLocation.WaveHeight);