/**
* Determine the "full" test name (including the suite name if it is set)
*
* @param \PHPUnit_Framework_TestCase $test
* @return string
*/
private function getCurrentTestName(\PHPUnit_Framework_TestCase $test)
{
if (null === $this->currentSuite) {
return $test->getName(true);
}
return $this->currentSuite->getName() . '::' . $test->getName(true);
}