public void CreateStructuresMapData_ReturnsEmptyMapPointDataWithExpectedStyling() { // Call MapPointData data = RiskeerMapDataFactory.CreateStructuresMapData(); // Assert CollectionAssert.IsEmpty(data.Features); Assert.AreEqual("Kunstwerken", data.Name); RiskeerMapDataFactoryTestHelper.AssertEqualStyle(data.Style, Color.DarkSeaGreen, 15, PointSymbol.Square); Assert.AreEqual("Naam", data.SelectedMetaDataAttribute); }
protected virtual void CreateMapData() { hydraulicBoundaryLocationsMapLayer = new HydraulicBoundaryLocationsMapLayer(AssessmentSection); MapDataCollection = new MapDataCollection(StabilityPointStructuresDataResources.StabilityPointStructuresFailureMechanism_DisplayName); referenceLineMapData = RiskeerMapDataFactory.CreateReferenceLineMapData(); foreshoreProfilesMapData = RiskeerMapDataFactory.CreateForeshoreProfileMapData(); calculationsMapData = RiskeerMapDataFactory.CreateCalculationsMapData(); structuresMapData = RiskeerMapDataFactory.CreateStructuresMapData(); MapDataCollection.Add(referenceLineMapData); MapDataCollection.Add(hydraulicBoundaryLocationsMapLayer.MapData); MapDataCollection.Add(foreshoreProfilesMapData); MapDataCollection.Add(structuresMapData); MapDataCollection.Add(calculationsMapData); }