public function hasCustomKey() { return null !== $this->key; }
public function testNotHaveCustomKeyByDefault() { $metadata = new PropertyAnnotationMetadata('string'); $this->assertFalse($metadata->hasCustomKey()); }