File size: 569 Bytes
fab29d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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; }
    }
}