/** * Renders the table * * @return string * @static */ public static function render() { return \Bootstrapper\Table::render(); }
function it_should_throw_when_the_table_object_throws(Table $table) { $table->render()->willThrow('ErrorException'); $this->withTable($table)->shouldThrow('ErrorException')->during('render'); }