public void TryGetVersionFromFrameworkNameHandlesValidInput(string frameworkName, TargetFrameworkMoniker expectedTfm, string expectedMsBuildMoniker)
        {
            Assert.True(CoreRuntime.TryGetVersionFromFrameworkName(frameworkName, out Version version));

            var runtime = CoreRuntime.FromVersion(version);

            Assert.Equal(expectedTfm, runtime.TargetFrameworkMoniker);
            Assert.Equal(expectedMsBuildMoniker, runtime.MsBuildMoniker);
        }
 public void TryGetVersionFromFrameworkNameHandlesInvalidInput(string frameworkName)
 {
     Assert.False(CoreRuntime.TryGetVersionFromFrameworkName(frameworkName, out _));
 }