Ejemplo n.º 1
0
 /**
  * Get the method annotations including the class annotations
  *
  * @return AnnotationCollection
  */
 public function getAnnotations()
 {
     $annotationProvider = $this->annotationDataProviderFactory->make($this->reflectionMethod);
     return $annotationProvider->getAnnotations();
 }
 public function testCanMAkeAnnotationDataProvider()
 {
     $factory = new AnnotationDataProviderFactory(Mockery::mock(Reader::class));
     $provider = $factory->make(Mockery::mock(ReflectionMethod::class));
     $this->assertInstanceOf(AnnotationDataProvider::class, $provider);
 }