public void PatternSearch_Search_NoExceptions() { string str = Guid.NewGuid().ToString(); PatternInput patternInput = new PatternInput { PatternLength = str.Length, Str = str }; Assert.DoesNotThrow(() => patternSearch.Search(patternInput)); }