public void Should_Throw_If_Context_Is_Null()
            {
                // Given, When
                var result = Record.Exception(() => SolutionAliases.ParseSolution(null, null));

                // Then
                AssertEx.IsArgumentNullException(result, "context");
            }
            public void Should_Throw_If_SolutionPath_Is_Null()
            {
                // Given
                var cakeContext     = Substitute.For <ICakeContext>();
                var cakeEnvironment = Substitute.For <ICakeEnvironment>();
                var fileSystem      = Substitute.For <IFileSystem>();

                cakeContext.Environment.Returns(cakeEnvironment);
                cakeContext.FileSystem.Returns(fileSystem);

                // When
                var result = Record.Exception(() => SolutionAliases.ParseSolution(cakeContext, null));

                // Then
                AssertEx.IsArgumentNullException(result, "solutionPath");
            }