public function testData($constant)
{
switch ($constant) {
case 'PHPUNIT_RUNNER_CLEVERANDSMART_FAILURE':
usleep(1000);
$this->assertFalse(PHPUNIT_RUNNER_CLEVERANDSMART_FAILURE);
break;
case 'PHPUNIT_RUNNER_CLEVERANDSMART_ERROR':
usleep(2000);
if (PHPUNIT_RUNNER_CLEVERANDSMART_ERROR) {
throw new \Exception('ERROR');
}
$this->assertTrue(true);
break;
case PHPUNIT_RUNNER_CLEVERANDSMART_SUCCESS:
usleep(3000);
$this->assertTrue(PHPUNIT_RUNNER_CLEVERANDSMART_SUCCESS);
break;
}
}