PhpBench\Tests\Unit\Storage\Driver\DbalDriverTest::testQuery PHP Метод

testQuery() публичный Метод

It should return a SuiteCollection for a given query.
public testQuery ( )
    public function testQuery()
    {
        $this->loader->load($this->constraint->reveal())->willReturn($this->suiteCollection->reveal());
        $collection = $this->driver->query($this->constraint->reveal());
        $this->assertSame($this->suiteCollection->reveal(), $collection);
    }