You are here

public function PasswordHasherTest::testHashPassword in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/PasswordHasherTest.php \PasswordHasherTest::testHashPassword()

@dataProvider providerHashPassword

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/PasswordHasherTest.php, line 20

Class

PasswordHasherTest

Code

public function testHashPassword() {
  $args = func_get_args();
  $expectedResult = array_pop($args);
  $result = call_user_func_array(array(
    'PHPExcel_Shared_PasswordHasher',
    'hashPassword',
  ), $args);
  $this
    ->assertEquals($expectedResult, $result);
}