コード例 #1
0
        public void Create_DisableCreatedToolTip_SetsToolTipNotActive()
        {
            var toolTip = new ToolTip {
                Active = true
            };
            ValuesToolTip sut = ValuesToolTip.Create(new Control(), toolTip);

            sut.Disable();

            Assert.That(toolTip.Active, Is.False, "The active tool tip was still active.");
        }