Two issues addressed, regarding the Image field class.
URL field was not being filled in the fillThumbnailFields method. (So, calls like this: $image->size('large')->url would be null
Added the option to have the original image as a fallback, when requesting a certain thumbnail size, if said size does not exist, or the crop for this size has not been created. This resembles the default WordPress behavior.
Added new assertions to test the above items.
Unit test results:
PHPUnit 4.2.2 by Sebastian Bergmann.
Configuration read from [...]\acf\phpunit.xml
................................................
Time: 640 ms, Memory: 13.00MB
OK (48 tests, 105 assertions)
Two issues addressed, regarding the Image field class.
fillThumbnailFields
method. (So, calls like this:$image->size('large')->url
would benull
Unit test results: