You are here

private static function PHPUnit_Util_Test::emptyHookMethodsArray in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/Test.php \PHPUnit_Util_Test::emptyHookMethodsArray()

@since Method available since Release 4.0.9

Return value

array

1 call to PHPUnit_Util_Test::emptyHookMethodsArray()
PHPUnit_Util_Test::getHookMethods in vendor/phpunit/phpunit/src/Util/Test.php
@since Method available since Release 4.0.8

File

vendor/phpunit/phpunit/src/Util/Test.php, line 796

Class

PHPUnit_Util_Test
Test helpers.

Code

private static function emptyHookMethodsArray() {
  return array(
    'beforeClass' => array(
      'setUpBeforeClass',
    ),
    'before' => array(
      'setUp',
    ),
    'after' => array(
      'tearDown',
    ),
    'afterClass' => array(
      'tearDownAfterClass',
    ),
  );
}