/**
* @author Bernhard Schussek <
[email protected]>
*/
class JsonBundleWriterTest extends TestCase
{ private JsonBundleWriter
$writer;
private string
$directory;
private Filesystem
$filesystem;
protected function setUp(): void
{ $this->writer =
new JsonBundleWriter();
$this->directory =
sys_get_temp_dir().'/JsonBundleWriterTest/'.
mt_rand(1000, 9999
);
$this->filesystem =
new Filesystem();
$this->filesystem->
mkdir($this->directory
);
} protected function tearDown(): void
{ $this->filesystem->
remove($this->directory
);
}