PhpBench\Tests\Unit\Storage\Driver\Xml\XmlDriverTest::testHas PHP Method

testHas() public method

It should return true if ->has is called and the collection exists.
public testHas ( )
    public function testHas()
    {
        $uuid = '1339f38b191b77e1185f9729eb25a2aa4e262b01';
        $this->filesystem->exists('/path/to/7e0/3/c/' . $uuid . '.xml')->willReturn(true);
        $this->assertTrue($this->driver->has($uuid));
    }