2017-01-10 14:41:31 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Tests\PHPCensor;
|
|
|
|
|
2017-07-24 08:45:52 +02:00
|
|
|
class LocalizationTestCase extends \PHPUnit\Framework\TestCase
|
2017-01-10 14:41:31 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Returns a string representation of the test case.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function toString()
|
|
|
|
{
|
|
|
|
$class = new \ReflectionClass($this);
|
|
|
|
|
|
|
|
$buffer = sprintf(
|
|
|
|
'%s::%s',
|
|
|
|
$class->name,
|
|
|
|
$this->getName(false)
|
|
|
|
);
|
|
|
|
|
|
|
|
return $buffer . $this->getDataSetAsString(false);
|
|
|
|
}
|
|
|
|
}
|