Phalcon\Test\Db\Adapter\FactoryTest::testLoadMysqlAdapter PHP Метод

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

    public function testLoadMysqlAdapter()
    {
        $this->testable['adapter'] = 'mysql';
        $adapter = AdaptersFactory::load($this->testable);
        $this->assertTrue(is_object($adapter));
        $this->assertInstanceOf('Phalcon\\Db\\Adapter\\Pdo\\Mysql', $adapter);
        $this->assertInstanceOf('Phalcon\\Db\\Adapter\\Pdo', $adapter);
        $this->assertInstanceOf('Phalcon\\Db\\Adapter', $adapter);
    }