protected function setUp() { $this->slugify = m::mock('Cocur\\Slugify\\SlugifyInterface'); $this->extension = new SlugifyExtension($this->slugify); }