/** * @expectedException \Puli\Discovery\Api\NoSuchTypeException * @expectedExceptionMessage type */ public function testGetDefinedTypeAlwaysThrowsException() { $this->discovery->defineType('type'); $this->discovery->getDefinedType('type'); }
/** * @expectedException \Puli\Discovery\Api\NoSuchTypeException * @expectedExceptionMessage type */ public function testGetDefinedTypeAlwaysThrowsException() { $this->discovery->defineType('type'); $this->discovery->getDefinedType('type'); }