php-censor/tests/PHPCensor/LocalizationTestCase.php
2017-01-10 21:12:53 +07:00

25 lines
474 B
PHP

<?php
namespace Tests\PHPCensor;
class LocalizationTestCase extends \PHPUnit_Framework_TestCase
{
/**
* 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);
}
}