public void Text_GivenOffsetAndLength_SubstringOfTextFromControl()
        {
            _textBox.Text = "Hello my darling";
            HotSpot hotSpot = new HotSpot(_textBox, 6, 2);

            Assert.AreEqual("my", hotSpot.Text);
        }
Beispiel #2
0
		public void Text_GivenOffsetAndLength_SubstringOfTextFromControl()
		{
			_textBox.Text = "Hello my darling";
			HotSpot hotSpot = new HotSpot(_textBox, 6, 2);
			Assert.AreEqual("my", hotSpot.Text);
		}