1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/NamingStrategyTest.php

20 lines
429 B
PHP
Raw Normal View History

2011-12-22 18:07:18 +04: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'));
}
}