public function testExceptionOnRenderingUnboundComponent() { $renderer = $this->getMock('Jfsimon\\Datagrid\\Service\\RendererInterface'); $component = new Row('type'); $this->setExpectedException('Jfsimon\\Datagrid\\Exception\\WorkflowException'); $component->render($renderer); }