public function setUp()
{
$this->publishedIoServiceMock = $this->getMock('eZ\\Publish\\Core\\IO\\IOServiceInterface');
$this->draftIoServiceMock = $this->getMock('eZ\\Publish\\Core\\IO\\IOServiceInterface');
$optionsProvider = new OptionsProvider(array('var_dir' => 'var/test', 'storage_dir' => 'storage', 'draft_images_dir' => 'images-versioned', 'published_images_dir' => 'images'));
$this->service = new LegacyIOService($this->publishedIoServiceMock, $this->draftIoServiceMock, $optionsProvider);
}