public function testAddAndSetFont2() { $this->setExpectedException('Pop\\Graph\\Exception'); $g = new Graph($this->pdfOptions); $g->addFont(__DIR__ . '/../tmp/times.ttf'); $g->setFont('bogus'); }