public function testGetInfoJpeg() { $original = Helper::getOrig('butterfly.jpg'); $img = new Image($original); $info = $img->getInfo(); is(640, $info['width']); is(478, $info['height']); is('image/jpeg', $info['mime']); is('landscape', $info['orient']); isTrue(is_array($info['exif'])); isTrue($img->isJpeg()); }