/** * @test */ public function settingDeletedByUsingSetThrowsAnException() { $this->setExpectedException('InvalidArgumentException', '$key must not be "deleted". Please use setToDeleted() instead.'); $this->subject->setDeletedPropertyUsingSet(); }
/** * @test */ public function settingDeletedByUsingSetThrowsAnException() { $this->setExpectedException('InvalidArgumentException', '$key must not be "deleted". Please use setToDeleted() instead.'); $this->subject->setDeletedPropertyUsingSet(); }