public void IsTextLoaded() { string pattern = @"\w*\s*\W*"; Regex reg = new Regex(pattern); Assert.Matches(reg, _search.LoadText(_search.path)); }