1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Functional/SequenceGeneratorTest.php

35 lines
496 B
PHP

<?php
namespace Doctrine\Tests\ORM\Functional;
require_once __DIR__ . '/../../TestInit.php';
/**
* Description of SequenceGeneratorTest
*
* @author robo
*/
class SequenceGeneratorTest extends \Doctrine\Tests\OrmFunctionalTestCase
{
public function testFoo()
{
$this->assertEquals(1, 1);
}
}
/**
* @Entity
*/
class SeqUser {
/**
* @Id
* @IdGenerator("sequence")
*/
private $id;
public function getId() {
return $this->id;
}
}