private static bool IsXunit2() { return AppDomain .CurrentDomain .GetAssemblies() .Any(a => a.FullName.Contains("xunit.assert")); }