1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[2.0] Committing missing DoctrineExceptionTest

This commit is contained in:
jwage 2009-02-28 20:22:12 +00:00
parent 45d07672f0
commit 405ba00983

View File

@ -0,0 +1,13 @@
<?php
namespace Doctrine\Tests\Common;
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')");
}
}