public void SetMainMenuTest() { this.dialog1.Active = false; this.dialog2.Active = true; MenuModel target = new MenuModel(); target.MenuDialogs = this.dialogs; target.SetMainMenu(); Assert.IsTrue(dialog1.Active); Assert.IsFalse(dialog2.Active); }