public function DefaultValueBinderTest::testDataTypeForRichTextObject in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Cell/DefaultValueBinderTest.php \DefaultValueBinderTest::testDataTypeForRichTextObject()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Cell/ DefaultValueBinderTest.php, line 76
Class
Code
public function testDataTypeForRichTextObject() {
$objRichText = new PHPExcel_RichText();
$objRichText
->createText('Hello World');
$expectedResult = PHPExcel_Cell_DataType::TYPE_INLINE;
$result = call_user_func(array(
'PHPExcel_Cell_DefaultValueBinder',
'dataTypeForValue',
), $objRichText);
$this
->assertEquals($expectedResult, $result);
}