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