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

testArchiveExistingDirectoryDoNotCreate() public method

It should not create a directory if it already exists.
    public function testArchiveExistingDirectoryDoNotCreate()
    {
        $this->filesystem->exists($this->archivePath)->willReturn(true);
        $this->filesystem->mkdir($this->archivePath)->shouldNotBeCalled();
        $this->storage->history()->willReturn([]);
        $this->archiver->archive($this->output);
    }