1
0
mirror of synced 2025-02-20 22:23:14 +03:00
doctrine2/tests/Doctrine/Tests/ORM/NamingStrategyTest.php

20 lines
429 B
PHP
Raw Normal View History

2011-12-22 12:07:18 -02:00
<?php
namespace Doctrine\Tests\ORM;
use Doctrine\ORM\DefaultNamingStrategy;
require_once __DIR__ . '/../TestInit.php';
/**
* @group DDC-559
*/
class NamingStrategyTest extends \Doctrine\Tests\OrmTestCase
{
public function testDefaultNamingStrategy()
{
$strategy = new \Doctrine\ORM\DefaultNamingStrategy();
$this->assertEquals('ShortClassName', $strategy->classToTableName('ShortClassName'));
}
}