[2.0] Committing missing DoctrineExceptionTest
This commit is contained in:
parent
45d07672f0
commit
405ba00983
13
tests/Doctrine/Tests/Common/DoctrineExceptionTest.php
Normal file
13
tests/Doctrine/Tests/Common/DoctrineExceptionTest.php
Normal 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')");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user