You are here

public function StringTest::testSetCurrencyCode in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/StringTest.php \StringTest::testSetCurrencyCode()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/StringTest.php, line 74

Class

StringTest

Code

public function testSetCurrencyCode() {
  $expectedResult = '£';
  $result = call_user_func(array(
    'PHPExcel_Shared_String',
    'setCurrencyCode',
  ), $expectedResult);
  $result = call_user_func(array(
    'PHPExcel_Shared_String',
    'getCurrencyCode',
  ));
  $this
    ->assertEquals($expectedResult, $result);
}