Example #1
0
        public void SetPauseMenuTest()
        {
            this.dialog1.Active = true;
            this.dialog2.Active = false;

            MenuModel target = new MenuModel();
            target.MenuDialogs = this.dialogs;
            target.SetPauseMenu();

            Assert.IsFalse(dialog1.Active);
            Assert.IsTrue(dialog2.Active);
        }