Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs =================================================================== diff -u -r070acdcdc07854f93138da547e97dd7754a5ffc7 -r82feef3e508c2a4fdae35ce6af4b755a3d0c4160 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs (.../DesignWaterLevelLocationsContextPropertyInfoTest.cs) (revision 070acdcdc07854f93138da547e97dd7754a5ffc7) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/DesignWaterLevelLocationsContextPropertyInfoTest.cs (.../DesignWaterLevelLocationsContextPropertyInfoTest.cs) (revision 82feef3e508c2a4fdae35ce6af4b755a3d0c4160) @@ -63,7 +63,7 @@ var random = new Random(); var hydraulicBoundaryLocations = new ObservableList(); - var locationsLookup = new Dictionary + var hydraulicBoundaryLocationsLookup = new Dictionary { { new TestHydraulicBoundaryLocation(), @@ -81,11 +81,11 @@ } }; - hydraulicBoundaryLocations.AddRange(locationsLookup.Keys); + hydraulicBoundaryLocations.AddRange(hydraulicBoundaryLocationsLookup.Keys); var context = new DesignWaterLevelLocationsContext(hydraulicBoundaryLocations, assessmentSection, - hbl => locationsLookup[hbl], + hbl => hydraulicBoundaryLocationsLookup[hbl], "Category"); using (var plugin = new RingtoetsPlugin()) @@ -99,8 +99,8 @@ Assert.IsInstanceOf(objectProperties); Assert.AreSame(hydraulicBoundaryLocations, objectProperties.Data); DesignWaterLevelLocationProperties[] locationProperties = ((DesignWaterLevelLocationsProperties) objectProperties).Locations; - CollectionAssert.AreEqual(locationsLookup.Keys, locationProperties.Select(p => p.Data)); - CollectionAssert.AreEqual(locationsLookup.Values.Select(c => c.Output.Result), locationProperties.Select(p => p.DesignWaterLevel)); + CollectionAssert.AreEqual(hydraulicBoundaryLocationsLookup.Keys, locationProperties.Select(p => p.Data)); + CollectionAssert.AreEqual(hydraulicBoundaryLocationsLookup.Values.Select(c => c.Output.Result), locationProperties.Select(p => p.DesignWaterLevel)); } mockRepository.VerifyAll();