public void AddFile_WithAbsolutePath_Should_AddFile_AsIs() { const string fileName = "e:\\path\\file.txt"; _fileSystemMock.Setup(f => f.FileExists(fileName)).Returns(true); _dependencyList.AddFiles(new[] { fileName }); _dependencyList.Build().Should().OnlyContain(x => x == fileName); }