Update patch set 1
Patch Set 1:
You're right that testing the actual behaviour of the class would be better here. Thank you for pointing out why this is actually important here.
I've only meant that maybe it is not worth it to couple those tests of MediaInfo to Wikibase just to re-use those few test methods. Maybe it would be better to simply copy and paste here tests that are relevant here.
I am not strongly resistant to using those traits here, though (ie. I am no sure if that would be "quite heavy, complicated, and fragile" coupling).
Reviewer: WMDE-leszek <2626@e9e9afe9-4712-486d-8885-f54b72dd1951>