public function testRemoveAliases() { $originalPath = 'foo/bar/test.jpg'; $this->urlRedecorator->expects($this->once())->method('redecorateFromTarget')->with($originalPath); $this->innerAliasCleaner->expects($this->once())->method('removeAliases'); $this->aliasCleaner->removeAliases($originalPath); }
public function removeAliases($originalPath) { $this->innerAliasCleaner->removeAliases($this->ioService->loadBinaryFileByUri($this->urlRedecorator->redecorateFromTarget($originalPath))); }
public function removeAliases($originalPath) { $this->innerAliasCleaner->removeAliases($this->urlRedecorator->redecorateFromTarget($originalPath)); }