LediReader / EpubReader /Source /VersOne.Epub.Test /Unit /Mocks /TestEnvironmentDependencies.cs
fasdfsa's picture
init
fab29d7
using VersOne.Epub.Environment;
namespace VersOne.Epub.Test.Unit.Mocks
{
internal class TestEnvironmentDependencies : IEnvironmentDependencies
{
public TestEnvironmentDependencies(IFileSystem? fileSystem = null, IContentDownloader? contentDownloader = null)
{
FileSystem = fileSystem ?? new TestFileSystem();
ContentDownloader = contentDownloader ?? new TestContentDownloader();
}
public IFileSystem FileSystem { get; set; }
public IContentDownloader ContentDownloader { get; set; }
}
}