public void FilesAreEnumerated()
{
using (var tmp = new TempDirectory())
{
using (File.Create(Path.Combine(tmp, "test1.txt"))) {}
using (File.Create(Path.Combine(tmp, "test2.bin"))) {}
var dir = new LocalFileSystemDirectory(tmp);
dir.ChildDirectories.Should().BeEmpty();
dir.Files.Should().HaveCount(2);
dir.Files.Should().Contain("test1.txt");
dir.Files.Should().Contain("test2.bin");
}
}