Пример #1
0
        public void Add_City_Name_To_Container()
        {
            City            city      = CityManager.GetCity();
            ServerContainer container = ContainerManeger.Prepare(city);

            Assert.AreEqual(city.Name, container.CityName);
        }
Пример #2
0
        public void Prepare_Container_For_Random_City()
        {
            var             city      = CityManager.GetCity();
            ServerContainer container = ContainerManeger.Prepare(city);

            Assert.AreEqual(false, container.IsLoaded);
        }
Пример #3
0
        public void Change_Container_IsLoaded()
        {
            City            city      = CityManager.GetCity();
            ServerContainer container = ContainerManeger.Prepare(city);

            Assert.AreEqual(false, container.IsLoaded);
            ContainerManeger.ChangeContainerIsLoaded(container);
            Assert.AreEqual(true, container.IsLoaded);
        }