15 lines
447 B
PHP
15 lines
447 B
PHP
<?php
|
|
|
|
namespace Doctrine\Tests\Common;
|
|
|
|
require_once __DIR__ . '/../TestInit.php';
|
|
|
|
class DoctrineExceptionTest extends \Doctrine\Tests\DoctrineTestCase
|
|
{
|
|
public function testStaticCall()
|
|
{
|
|
$e = \Doctrine\Common\DoctrineException::testingStaticCallBuildsErrorMessageWithParams('param1', 'param2');
|
|
|
|
$this->assertEquals($e->getMessage(), "Testing static call builds error message with params ('param1', 'param2')");
|
|
}
|
|
} |