/** * @expectedException OutOfRangeException */ public function testGetException() { $registry = new Registry(); $registry->get('with'); }