Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/WaveHeightCalculationsGroupPropertiesTest.cs =================================================================== diff -u -rbb29d09db7cda2fbce4c36d2d544f5ef74c7c103 -r07ee3d6f4986ef01277906824f02ef1fe7406221 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/WaveHeightCalculationsGroupPropertiesTest.cs (.../WaveHeightCalculationsGroupPropertiesTest.cs) (revision bb29d09db7cda2fbce4c36d2d544f5ef74c7c103) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/WaveHeightCalculationsGroupPropertiesTest.cs (.../WaveHeightCalculationsGroupPropertiesTest.cs) (revision 07ee3d6f4986ef01277906824f02ef1fe7406221) @@ -76,25 +76,27 @@ public void GetProperties_WithData_ReturnExpectedValues() { // Setup + const string categoryBoundaryName = "A"; var location = new TestHydraulicBoundaryLocation(); // Call - var properties = new WaveHeightCalculationsGroupProperties(new[] - { - location - }, - new[] - { - new Tuple>("A", new[] - { - new HydraulicBoundaryLocationCalculation(location) - }) - }); + var properties = new WaveHeightCalculationsGroupProperties( + new[] + { + location + }, + new[] + { + new Tuple>(categoryBoundaryName, new[] + { + new HydraulicBoundaryLocationCalculation(location) + }) + }); // Assert WaveHeightHydraulicBoundaryLocationProperties locationProperties = properties.Locations.Single(); Assert.AreSame(location, locationProperties.Data); - Assert.AreEqual(1, locationProperties.CategoryBoundaries.Length); + Assert.AreEqual(categoryBoundaryName, locationProperties.CategoryBoundaries.Single().CategoryBoundaryName); } } } \ No newline at end of file