public MockTextRangeProvider(MockPatternProvider mockObject, string text) { this.mockObject = mockObject; this.text = text; }