public function testThrowsErrorWhenTableIsEmpty() { $template = $this->getCustomTemplate([]); $this->setExpectedException('RuntimeException', 'table-pr structure requires at least one row'); $template->getRequirements(); }