public void GraphToBaseDirectory_ConfigurationMissing_ReturnsExecutingAssemblyPlusTest()
        {
            var pathSelector = new InputPathSelector(
                new Mock <IDirectory>().Object,
                new Mock <IFile>().Object,
                new NameValueCollection(),
                @"C:\SourceCode\ApplicationName\ProjectName\bin\x64\Debug");

            var actualPath =
                pathSelector.GraphOnToBaseDirectory(
                    @"C:\SourceCode\ApplicationName\ProjectName\Diagnostics\DebugTest.cs");

            var expectedPath = Path.Combine(
                @"C:\SourceCode\ApplicationName\ProjectName\",
                InputPathSelector.BaseDirectoryName,
                @"Diagnostics\DebugTest.cs");

            Assert.AreEqual(expectedPath, actualPath);
        }
        public void GraphToBaseDirectory_ConfigurationIsValid_ReturnsConfigurationPlusTest()
        {
            var appSettings = new NameValueCollection()
            {
                { InputPathSelector.BasePathKey, @"C:\UnitTestData" },
            };

            var pathSelector = new InputPathSelector(
                new Mock <IDirectory>().Object,
                new Mock <IFile>().Object,
                appSettings,
                @"C:\SourceCode\ApplicationName\ProjectName\bin\x64\Debug");

            var actualPath =
                pathSelector.GraphOnToBaseDirectory(
                    @"C:\SourceCode\ApplicationName\ProjectName\Diagnostics\DebugTest.cs");

            var expectedPath = Path.Combine(@"C:\UnitTestData\", @"Diagnostics\DebugTest.cs");

            Assert.AreEqual(expectedPath, actualPath);
        }