php-censor/tests/PHPCensor/LocalizationTestCase.php

25 lines
474 B
PHP
Raw Normal View History

2017-01-10 14:41:31 +01:00
<?php
namespace Tests\PHPCensor;
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);
}
}