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