Пример #1
0
        public void CreateRegionManagerCreatesANewInstance()
        {
            var regionManager        = new RegionManager();
            var createdRegionManager = regionManager.CreateRegionManager();

            Assert.IsNotNull(createdRegionManager);
            Assert.IsInstanceOfType(createdRegionManager, typeof(RegionManager));
            Assert.AreNotSame(regionManager, createdRegionManager);
        }
Пример #2
0
        public void CreateRegionManagerCreatesANewInstance()
        {
            var regionManager        = new RegionManager();
            var createdRegionManager = regionManager.CreateRegionManager();

            Assert.NotNull(createdRegionManager);
            Assert.IsType <RegionManager>(createdRegionManager);
            Assert.NotSame(regionManager, createdRegionManager);
        }
Пример #3
0
 public void CreateRegionManagerCreatesANewInstance()
 {
     var regionManager = new RegionManager();
     var createdRegionManager = regionManager.CreateRegionManager();
     Assert.IsNotNull(createdRegionManager);
     Assert.IsInstanceOfType(createdRegionManager, typeof(RegionManager));
     Assert.AreNotSame(regionManager, createdRegionManager);
 }