protected function DefaultValueBinderTest::createCellStub 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::createCellStub()
1 call to DefaultValueBinderTest::createCellStub()
- DefaultValueBinderTest::testBindValue in vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Cell/ DefaultValueBinderTest.php - @dataProvider binderProvider
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ Cell/ DefaultValueBinderTest.php, line 18
Class
Code
protected function createCellStub() {
// Create a stub for the Cell class.
$this->cellStub = $this
->getMockBuilder('PHPExcel_Cell')
->disableOriginalConstructor()
->getMock();
// Configure the stub.
$this->cellStub
->expects($this
->any())
->method('setValueExplicit')
->will($this
->returnValue(true));
}