public function testArrayElements()
{
$reflection = new ReflectionClass();
$reflection->class = 'Test';
$method = new ReflectionMethod();
$method->reflectionClass = $reflection;
$method->class = 'Test';
$method->name = 'benchFoo';
$method->comment = <<<'EOT'
/**
* @Iterations({10, 20, 30})
* @Revs({1, 2, 3})
* @Warmup({5, 15, 115})
*/
EOT;
$reflection->methods[$method->name] = $method;
$hierarchy = new ReflectionHierarchy();
$hierarchy->addReflectionClass($reflection);
$metadata = $this->createDriver()->getMetadataForHierarchy($hierarchy);
$subject = $metadata->getSubjects();
$subject = current($subject);
$this->assertEquals([10, 20, 30], $subject->getIterations());
$this->assertEquals([1, 2, 3], $subject->getRevs());
$this->assertEquals([5, 15, 115], $subject->getWarmup());
}