/** * Tests the font() method. */ public function testFont() { $color = $this->getMock('Imagine\\Image\\Palette\\Color\\ColorInterface'); $this->setExpectedException('Imagine\\Exception\\RuntimeException'); $this->imagine->font($this->rootDir, 10, $color); }