/** * @expectedException \Task\Handler\HandlerNotExistsException */ public function testHandlerNotExists() { $registry = new Registry(); $registry->run('test', 'workload'); }