/** * @expectedException RuntimeException */ public function testGetNonInstantiableException() { $this->manager->get('ClassNoInstance'); }
/** * Get an instance of the given className or alias * * @param string $name * * @return object */ public function get($name) { return $this->dm->get($name); }