public function testGetClassNotInRegistry() { $this->setExpectedException('\\InvalidArgumentException'); $registry = new Registry(); $registry->get('\\foo\\bar'); }