Beispiel #1
0
 /**
  * @expectedException \Lug\Component\Grid\Exception\BadMethodCallException
  * @expectedExceptionMessage The "name" column type is a virtual type, you can't use it directly.
  */
 public function testRender()
 {
     $column = $this->createColumnMock();
     $column->expects($this->once())->method('getName')->will($this->returnValue('name'));
     $this->assertNull($this->type->render('data', ['column' => $column]));
 }