Index: Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs =================================================================== diff -u -rd00d30719d5bffa635f40b975e490af4e4c298e9 -rd2d96421974b56eb204dd8f756748aa582da0874 --- Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision d00d30719d5bffa635f40b975e490af4e4c298e9) +++ Demo/Ringtoets/test/Demo.Ringtoets.Test/Commands/AddNewDemoAssessmentSectionCommandTest.cs (.../AddNewDemoAssessmentSectionCommandTest.cs) (revision d2d96421974b56eb204dd8f756748aa582da0874) @@ -103,14 +103,17 @@ Assert.AreEqual("Demo traject", demoAssessmentSection.Name); Assert.AreEqual("6-3", demoAssessmentSection.Id); - Assert.IsTrue(demoAssessmentSection.BackgroundData.IsVisible); - Assert.AreEqual(0.0, demoAssessmentSection.BackgroundData.Transparency.Value); + BackgroundData backgroundData = demoAssessmentSection.BackgroundData; + Assert.IsTrue(backgroundData.IsVisible); + Assert.AreEqual(0.0, backgroundData.Transparency.Value); WmtsMapData expectedWmtsMapData = WmtsMapData.CreateDefaultPdokMapData(); - Assert.AreEqual(expectedWmtsMapData.Name, demoAssessmentSection.BackgroundData.Name); - Assert.AreEqual(expectedWmtsMapData.SourceCapabilitiesUrl, demoAssessmentSection.BackgroundData.Parameters[BackgroundDataIdentifiers.SourceCapabilitiesUrl]); - Assert.AreEqual(expectedWmtsMapData.SelectedCapabilityIdentifier, demoAssessmentSection.BackgroundData.Parameters[BackgroundDataIdentifiers.SelectedCapabilityIdentifier]); - Assert.AreEqual(expectedWmtsMapData.PreferredFormat, demoAssessmentSection.BackgroundData.Parameters[BackgroundDataIdentifiers.PreferredFormat]); + Assert.AreEqual(expectedWmtsMapData.Name, backgroundData.Name); + Assert.AreEqual(BackgroundMapDataType.Wmts, backgroundData.BackgroundMapDataType); + Assert.AreEqual(3, backgroundData.Parameters.Count); + Assert.AreEqual(expectedWmtsMapData.SourceCapabilitiesUrl, backgroundData.Parameters[BackgroundDataIdentifiers.SourceCapabilitiesUrl]); + Assert.AreEqual(expectedWmtsMapData.SelectedCapabilityIdentifier, backgroundData.Parameters[BackgroundDataIdentifiers.SelectedCapabilityIdentifier]); + Assert.AreEqual(expectedWmtsMapData.PreferredFormat, backgroundData.Parameters[BackgroundDataIdentifiers.PreferredFormat]); AssertHydraulicBoundaryDatabase(demoAssessmentSection);