 +     */
 +    #[@test, @expect('lang.ElementNotFoundException')]
 +    public function fromFileWithoutExif() {
-+      ExifData::fromFile($this->resourceAsFile('iptc-only.jpg'));
++      $this->extractFromFile($this->resourceAsFile('iptc-only.jpg'));
 +    }
 +
 +    /**

       $title                         = '',
       $urgency                       = '',
       $category                      = '',
@@ -41,21 +52,33 @@
       $supplementalCategories        = array(),
       $originalTransmissionReference = '';
 

+     */
+    #[@test]
+    public function fromFileWithExifAndIptc() {
+      $i= $this->extractFromFile($this->resourceAsFile('exif-and-iptc.jpg'));
+      $this->assertEquals('Unittest Image', $i->getTitle());
+    }
+
