/** * test set approved exception * * @expectedException \Xpressengine\Document\Exceptions\DocumentEntityException * @return void */ public function testSetApprovedException() { $entity = new DocumentEntity(); $entity->setApproved('not-exists'); }
/** * test set approved exception * * @expectedException \Xpressengine\Document\Exceptions\DocumentEntityException * @return void */ public function testSetApprovedException() { $entity = new DocumentEntity(); $entity->setApproved('not-exists'); }