/** * @covers ::registerAnnotation * @covers ::registerAnnotations */ public function testRegisterAnnotation() { $this->assertTrue(AnnotatedReflection::registerAnnotation(Property::class)); $this->assertTrue(AnnotatedReflection::registerAnnotations([TestClass::class, TestPerson::class, Property::class])); $this->assertEquals([Property::class, TestClass::class, TestPerson::class], AnnotatedReflection::getRegisteredAnnotations()); }