public void GetStartingPath_ReturnsSolutionPath_WhenSolutionPathIsNotNullOrWhitespace()
        {
            const string solutionPath = "SOLUTION_PATH";

            var context = new MockSdkResolverContext(projectPath: null, solutionPath);

            GlobalJsonReader.GetStartingPath(context).Should().Be(solutionPath);
        }
        public void GetStartingPath_ReturnsProjectPath_WhenSolutionPathIsNullOrWhitespace(string solutionPath)
        {
            const string projectPath = "PROJECT_PATH";

            var context = new MockSdkResolverContext(projectPath, solutionPath);

            GlobalJsonReader.GetStartingPath(context).Should().Be(projectPath);
        }
        public void GetStartingPath_ReturnsNull_WhenSolutionPathAndProjectPathIsNullOrWhitespace(string solutionPath, string projectPath)
        {
            var context = new MockSdkResolverContext(projectPath, solutionPath);

            GlobalJsonReader.GetStartingPath(context).Should().BeNull();
        }