public function AutoloaderTest::testAutoloadInstantiateSuccess in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/AutoloaderTest.php \AutoloaderTest::testAutoloadInstantiateSuccess()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ AutoloaderTest.php, line 47
Class
Code
public function testAutoloadInstantiateSuccess() {
$result = new PHPExcel_Calculation_Function(1, 2, 3);
// Must return an object...
$this
->assertTrue(is_object($result));
// ... of the correct type
$this
->assertTrue(is_a($result, 'PHPExcel_Calculation_Function'));
}