public void AllResultsFoundForOne()
        {
            var result = ElementSearchResult.ForOne();

            Assert.AreEqual(false, result.AllResultsFound);
            result.Add(AutomationElement.FocusedElement);
            Assert.AreEqual(true, result.AllResultsFound);
        }
        public void AllResultsFoundForOneTest()
        {
            var result = ElementSearchResult.ForOne();

            Assert.That(result.AllResultsFound, Is.False);
            result.Add(Desktop.Automation.FocusedElement());
            Assert.That(result.AllResultsFound, Is.True);
        }