public void SetSourceDirectoryToCurrentLogsMessage()
 {
     SetupMocks();
     CodeCoverageUtilities.SetCurrentDirectoryIfDirectoriesParameterIsEmpty(_ec.Object, " ", "warningMessage");
     Assert.Equal(0, _warnings.Count);
     Assert.Equal(0, _errors.Count);
     Assert.Equal(1, _outputMessages.Count);
     Assert.Equal(_outputMessages[0], "warningMessage");
 }
        public void SetSourceDirectoryTrimsSourceDirectory()
        {
            SetupMocks();
            var sourceDir = CodeCoverageUtilities.SetCurrentDirectoryIfDirectoriesParameterIsEmpty(_ec.Object, " sourceDir  ", "warningMessage");

            Assert.Equal(0, _warnings.Count);
            Assert.Equal(0, _errors.Count);
            Assert.Equal(0, _outputMessages.Count);
            Assert.Equal("sourceDir", sourceDir);
        }