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()));
}