PhpBench\Tests\Unit\Storage\Archiver\XmlArchiverTest::testArchiveCreateDirectory PHP Method

testArchiveCreateDirectory() public method

It should create the archive directory if it doesn't exist.
    public function testArchiveCreateDirectory()
    {
        $this->filesystem->exists($this->archivePath)->willReturn(false);
        $this->filesystem->mkdir($this->archivePath)->shouldBeCalled();
        $this->storage->history()->willReturn([]);
        $this->archiver->archive($this->output);
    }