public function testRemoveAliases() { $originalPath = 'foo/bar/test.jpg'; $this->resolver->expects($this->once())->method('remove')->with(array($originalPath), array()); $this->aliasCleaner->removeAliases($originalPath); }