public void InitializeMapLayersTest() { ArcGisMap_Accessor target = new ArcGisMap_Accessor(); int layersCountBefore = target.Map.Layers.Count; target.InitializeMapLayers(); int layersCountAfter = target.Map.Layers.Count; Assert.AreEqual(layersCountBefore + MapLayersManager.Instance.MapLayers.Count, layersCountAfter); }