public function testExists()
{
$path = 'path/file.png';
$this->publishedIoServiceMock->expects($this->once())->method('exists')->with($path)->will($this->returnValue(true));
$this->draftIoServiceMock->expects($this->never())->method('exists');
self::assertTrue($this->service->exists($path));
}