Index: Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder2DTest.cs =================================================================== diff -u -r6afbb616ce84cccaf56617d60c5cd821b00daab0 -r9cdd70c8d4ba76d93b72ef8c1b7df138fa73b0e4 --- Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder2DTest.cs (.../SoilProfileBuilder2DTest.cs) (revision 6afbb616ce84cccaf56617d60c5cd821b00daab0) +++ Ringtoets/Piping/test/Ringtoets.Piping.IO.Test/Builders/SoilProfileBuilder2DTest.cs (.../SoilProfileBuilder2DTest.cs) (revision 9cdd70c8d4ba76d93b72ef8c1b7df138fa73b0e4) @@ -65,8 +65,8 @@ public void Add_LayerWithVerticalLineOnXInXml_ThrowsSoilProfileBuilderException() { // Setup - var profileName = "SomeProfile"; - var atX = 0.0; + const string profileName = "SomeProfile"; + const double atX = 0.0; var builder = new SoilProfileBuilder2D(profileName, atX, 0); var soilLayer = new SoilLayer2D @@ -96,7 +96,7 @@ public void Build_WithOutLayers_ThrowsSoilProfileBuilderException() { // Setup - var profileName = "SomeProfile"; + const string profileName = "SomeProfile"; var builder = new SoilProfileBuilder2D(profileName, 0.0, 0); // Call @@ -110,7 +110,7 @@ public void Build_WithSingleLayerOnlyOuterLoop_ReturnsProfileWithBottomAndALayer() { // Setup - var profileName = "SomeProfile"; + const string profileName = "SomeProfile"; const long pipingSoilProfileId = 1234L; var builder = new SoilProfileBuilder2D(profileName, 0.0, pipingSoilProfileId); var firstPoint = new Point2D(-0.5, 1.0); @@ -145,7 +145,7 @@ public void Build_WithMultipleLayersOnlyOuterLoop_ReturnsProfileWithBottomAndALayers() { // Setup - var profileName = "SomeProfile"; + const string profileName = "SomeProfile"; const long pipingSoilProfileId = 1234L; var builder = new SoilProfileBuilder2D(profileName, 1.0, pipingSoilProfileId); builder.Add(new SoilLayer2D @@ -213,7 +213,7 @@ public void Build_WithLayerFilledWithOtherLayer_ReturnsProfileWithBottomAndALayers() { // Setup - var profileName = "SomeProfile"; + const string profileName = "SomeProfile"; const long pipingSoilProfileId = 1234L; var builder = new SoilProfileBuilder2D(profileName, 2.0, pipingSoilProfileId); List loopHole = Segment2DLoopCollectionHelper.CreateFromString(string.Join(Environment.NewLine,