/** * @expectedException \InvalidArgumentException */ public function testSetDataDoesNotExists() { $article = new Article(); $article->set('no', 'foo'); }
/** * @expectedException \InvalidArgumentException */ public function testSetDataDoesNotExists() { $article = new Article(); $article->set('no', 'foo'); }