Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/BackgroundDataPropertyInfoTest .cs =================================================================== diff -u -rc0c56c5249d2f49339aec934993501d1430bfd11 -ra1bba29ba0d84061cca88da8324957087d564db9 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/BackgroundDataPropertyInfoTest .cs (.../BackgroundDataPropertyInfoTest .cs) (revision c0c56c5249d2f49339aec934993501d1430bfd11) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/BackgroundDataPropertyInfoTest .cs (.../BackgroundDataPropertyInfoTest .cs) (revision a1bba29ba0d84061cca88da8324957087d564db9) @@ -37,29 +37,7 @@ { private RingtoetsPlugin plugin; private PropertyInfo info; - - private static IEnumerable ValidBackgroundDatas() - { - var wellKnownMapData = new WellKnownTileSourceMapData(WellKnownTileSource.BingRoads); - WmtsMapData wmtsMapData = WmtsMapDataTestHelper.CreateDefaultPdokMapData(); - yield return new TestCaseData( - new BackgroundData(new TestBackgroundDataConfiguration())) - .SetName("Arbitrary BackgroundData Configuration"); - yield return new TestCaseData( - new BackgroundData(new WellKnownBackgroundDataConfiguration((RingtoetsWellKnownTileSource) wellKnownMapData.TileSource)) - { - Name = wellKnownMapData.Name - }).SetName("WellKnown BingRoads BackgroundData"); - yield return new TestCaseData(new BackgroundData(new WmtsBackgroundDataConfiguration(wmtsMapData.IsConfigured, - wmtsMapData.SourceCapabilitiesUrl, - wmtsMapData.SelectedCapabilityIdentifier, - wmtsMapData.PreferredFormat)) - { - Name = wmtsMapData.Name - }).SetName("Wmts DefaultPdok BackgroundData"); - } - [SetUp] public void SetUp() { @@ -92,5 +70,27 @@ Assert.IsInstanceOf(objectProperties); Assert.AreSame(backgroundData, objectProperties.Data); } + + private static IEnumerable ValidBackgroundDatas() + { + var wellKnownMapData = new WellKnownTileSourceMapData(WellKnownTileSource.BingRoads); + WmtsMapData wmtsMapData = WmtsMapDataTestHelper.CreateDefaultPdokMapData(); + + yield return new TestCaseData( + new BackgroundData(new TestBackgroundDataConfiguration())) + .SetName("Arbitrary BackgroundData Configuration"); + yield return new TestCaseData( + new BackgroundData(new WellKnownBackgroundDataConfiguration((RingtoetsWellKnownTileSource) wellKnownMapData.TileSource)) + { + Name = wellKnownMapData.Name + }).SetName("WellKnown BingRoads BackgroundData"); + yield return new TestCaseData(new BackgroundData(new WmtsBackgroundDataConfiguration(wmtsMapData.IsConfigured, + wmtsMapData.SourceCapabilitiesUrl, + wmtsMapData.SelectedCapabilityIdentifier, + wmtsMapData.PreferredFormat)) + { + Name = wmtsMapData.Name + }).SetName("Wmts DefaultPdok BackgroundData"); + } } } \ No newline at end of file