public void GetCorrectFrameworkNameForRuntimes(string runtimeName, string frameworkIdentifier) { var frameworkName = DependencyContext.GetFrameworkNameForRuntime(runtimeName); Assert.Equal(frameworkIdentifier, frameworkName?.Identifier); }