/**
  * @expectedException \RuntimeException
  * @expectedExceptionCode 3
  */
 public function testGetDefaultAndTooMany()
 {
     $exe1 = $this->createExecutor();
     $exe2 = $this->createExecutor();
     $reg = new ExecutorRegistry();
     $reg->add('foo', $exe1, false);
     $reg->add('bar', $exe2, false);
     $reg->getDefault();
 }