function it_might_have_annotations(ReflectionClass $reflectionClass, AnnotationScanner $annotations)
{
$docBlock = <<<'BLOCK'
/**
* @Target("CLASS")
*/
BLOCK;
$expectedAnnotations = [new Target(['value' => "CLASS"])];
$reflectionClass->getDocComment()->willReturn($docBlock);
$annotations->scanForAnnotations($docBlock, $this->fileName, $this->imports)->willReturn(new Annotations($expectedAnnotations));
$this->annotations()->shouldBeLike(new Annotations($expectedAnnotations));
}