internal static void AssertExists (ICSharpCode.NRefactory6.CSharp.Completion.CompletionResult provider, string testClass) { var data = provider.Find (testClass); if (data == null) { Console.WriteLine("provider contained: "); foreach (var dp in provider) Console.WriteLine(dp.DisplayText); } Assert.IsNotNull (data, "should contain '" + testClass + ""); }