public function testException() { $this->setExpectedException('DomainException', 'Callback exception'); invoke($this->list, 'exception'); }