Location: PHPKode > projects > DIY Blog > diy-blog/lib/creole/test/classes/creole/drivers/oracle/OCI8IdGeneratorTest.php
<?php

require_once 'creole/IdGeneratorTest.php';

/**
 * Tests for the PgSQL IdGenerator class.
 * 
 * 
 * @author Hans Lellelid <hide@address.com>
 * @version $Revision: 1.1 $
 */
class OCI8IdGeneratorTest extends IdGeneratorTest {

    
    /** Ensures that drivers are implementing the correct Id Method. */
    public function testGetMethod() {
        $this->assertEquals(IdGenerator::SEQUENCE, $this->idgen->getIdMethod(), 0, "Oracle Id method should be SEQUENCE (but is not)");
    }
    
}
Return current item: DIY Blog