/** * @expectedException \InvalidArgumentException */ public function testSettingPausesDirectly() { $P = new Pauses(); $T = new Object(); $T->set(Object::PAUSES, $P->asString()); }
/** * @expectedException \InvalidArgumentException */ public function testException() { $P = new Pauses(); $P->at(0); }