1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Functional/SequenceGeneratorTest.php

35 lines
496 B
PHP
Raw Normal View History

<?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;
}
}