public void EmbeddedPortablePDPHasLocalSource_DocumentDoesNotExist_ReturnsFalse()
        {
            var fileSystem = new Mock <FileSystem> {
                CallBase = true
            };

            fileSystem.Setup(x => x.Exists(It.IsAny <string>())).Returns(false);

            InstrumentationHelper instrumentationHelper =
                new InstrumentationHelper(new ProcessExitHandler(), new RetryHelper(), fileSystem.Object, new Mock <ILogger>().Object, new SourceRootTranslator(typeof(InstrumentationHelperTests).Assembly.Location, new Mock <ILogger>().Object, new FileSystem()));

            Assert.False(instrumentationHelper.PortablePdbHasLocalSource(typeof(InstrumentationHelperTests).Assembly.Location, out string notFoundDocument));
            Assert.False(notFoundDocument.IsNullOrEmpty());
        }
 public void EmbeddedPortablePDPHasLocalSource_AllDocumentsExist_ReturnsTrue()
 {
     Assert.True(_instrumentationHelper.PortablePdbHasLocalSource(typeof(InstrumentationHelperTests).Assembly.Location, out string notFoundDocument));
     Assert.True(notFoundDocument.IsNullOrEmpty());
 }