/** * @param array $mappedClass * @param Mapping $mapping */ protected static function setCuries(array &$mappedClass, Mapping $mapping) { if (false === empty($mappedClass[static::CURIES_KEY])) { $mapping->setCuries($mappedClass[static::CURIES_KEY]); } }
public function testCuriesWillThrowException() { $this->expectException(MappingException::class); $this->mapping->setCuries([]); }