Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/BackgroundDataPropertiesTest.cs =================================================================== diff -u -r8f2d3db3a37f2f2d112e947c5d4b8928f05c559c -rf372658df422303abcebd8206c8127b420a3ccc2 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/BackgroundDataPropertiesTest.cs (.../BackgroundDataPropertiesTest.cs) (revision 8f2d3db3a37f2f2d112e947c5d4b8928f05c559c) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/BackgroundDataPropertiesTest.cs (.../BackgroundDataPropertiesTest.cs) (revision f372658df422303abcebd8206c8127b420a3ccc2) @@ -72,16 +72,11 @@ } [Test] - public void GetProperties_BackgroundDataWithEmptyConfiguredWmtsConfiguration_ReturnExpectedValues() + public void GetProperties_BackgroundDataWithUnconfiguredWmtsConfiguration_ReturnExpectedValues() { // Setup - const string name = "A"; - - var mapData = new TestImageBasedMapData(name, true); - - var backGroundMapData = new BackgroundData(new WmtsBackgroundDataConfiguration(mapData.IsConfigured, null, null, null)) + var backGroundMapData = new BackgroundData(new WmtsBackgroundDataConfiguration()) { - Name = mapData.Name, IsVisible = false, Transparency = (RoundedDouble) 0.5 }; @@ -92,7 +87,7 @@ // Assert Assert.AreEqual(backGroundMapData.IsVisible, properties.IsVisible); Assert.AreEqual(backGroundMapData.Transparency, properties.Transparency); - Assert.AreEqual(name, properties.Name); + Assert.AreEqual(string.Empty, properties.Name); Assert.AreEqual(string.Empty, properties.SourceCapabilitiesUrl); Assert.AreEqual(string.Empty, properties.SelectedCapabilityIdentifier); Assert.AreEqual(string.Empty, properties.PreferredFormat);