/** * @expectedException \JBZoo\Image\Exception */ public function testToBase64Undefined() { $img = new Image(); $img->getBase64(); }