Acts as a dispatcher between the two IOService instances required by FieldType\Image in Legacy. - One is the usual one, as used in ImageStorage, that uses 'images' as the prefix - The other is a special one, that uses 'images-versioned' as the prefix, in order to cope with content created from the backoffice To load a binary file, this service will first try with the normal IOService, and on exception, will fall back to the draft IOService. In addition, loadBinaryFile() will also hide the need to explicitly call getExternalPath() on the internal path stored in legacy.
Inheritance: implements eZ\Publish\Core\IO\IOServiceInterface
 public function testNewBinaryCreateStructFromUploadedFile()
 {
     $struct = new BinaryFileCreateStruct();
     $this->publishedIoServiceMock->expects($this->once())->method('newBinaryCreateStructFromUploadedFile')->with(array())->will($this->returnValue($struct));
     $this->draftIoServiceMock->expects($this->never())->method('newBinaryCreateStructFromUploadedFile');
     self::assertEquals($struct, $this->service->newBinaryCreateStructFromUploadedFile(array()));
 }