1
0
mirror of synced 2025-01-19 06:51:40 +03:00
doctrine2/tests/Doctrine/Tests/Common/DoctrineExceptionTest.php

15 lines
447 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Common;
2009-06-15 18:25:47 +00:00
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')");
}
}