/** * @test * @expectedException \InvalidArgumentException */ public function setCachePath_fail() { $this->target->setCachePath('Lorem Ipsum'); }
/** * @inheritdoc */ public function setCachePath($path = null) { $this->context->setCachePath($path); return $this; }