1
0
mirror of https://github.com/danog/file.git synced 2024-12-05 21:18:59 +01:00
file/test/Driver/StatusCachingFileTest.php

16 lines
368 B
PHP
Raw Normal View History

2022-12-17 22:52:21 +01:00
<?php declare(strict_types=1);
2020-10-21 22:52:43 +02:00
namespace Amp\File\Test\Driver;
use Amp\File;
2022-02-08 19:49:16 +01:00
use Amp\File\Driver\BlockingFilesystemDriver;
2020-10-21 22:52:43 +02:00
use Amp\File\Test\FileTest;
class StatusCachingFileTest extends FileTest
{
2022-02-08 19:49:16 +01:00
protected function createDriver(): File\FilesystemDriver
2020-10-21 22:52:43 +02:00
{
2022-02-08 19:49:16 +01:00
return new File\Driver\StatusCachingFilesystemDriver(new BlockingFilesystemDriver);
2020-10-21 22:52:43 +02:00
}
}