Extends Verify to allow verification of TestableIO.System.IO.Abstractions bits.
See Milestones for release notes.
Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.
[ModuleInitializer]
public static void Initialize() =>
VerifyTestableIOSystemIOAbstractions.Initialize();
[Test]
public async Task Usage()
{
IFileSystem fileSystem = new FileSystem();
var fileInfo = fileSystem.FileInfo.New(@"C:\temp\temp.txt");
await Verify(fileInfo);
}
Results in:
C:\temp\temp.txt