public function testGetFileInputStream()
{
$binaryFile = new BinaryFile();
$this->publishedIoServiceMock->expects($this->once())->method('getFileInputStream')->with($binaryFile)->will($this->returnValue('resource'));
$this->draftIoServiceMock->expects($this->never())->method('getFileInputStream');
self::assertEquals('resource', $this->service->getFileInputStream($binaryFile));
}