4require_once
'testDataFileIterator.php';
11 if (!
defined(
'PHPEXCEL_ROOT')) {
12 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
14 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
22 $args = func_get_args();
23 $expectedResult = array_pop($args);
24 $result = call_user_func_array(array(
'PHPExcel_Shared_PasswordHasher',
'hashPassword'),$args);
25 $this->assertEquals($expectedResult,
$result);
An exception for terminatinating execution or to throw for unit testing.
testHashPassword()
@dataProvider providerHashPassword
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'