AbstractDB2DriverTest.php 576 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php

namespace Doctrine\Tests\DBAL\Driver;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\DB2Platform;
use Doctrine\DBAL\Schema\DB2SchemaManager;

class AbstractDB2DriverTest extends AbstractDriverTest
{
    protected function createDriver()
    {
        return $this->getMockForAbstractClass('Doctrine\DBAL\Driver\AbstractDB2Driver');
    }

    protected function createPlatform()
    {
        return new DB2Platform();
    }

    protected function createSchemaManager(Connection $connection)
    {
        return new DB2SchemaManager($connection);
    }
}