Example #1
0
 public function testMetrics()
 {
     $metrics = array('foo', 'bar');
     $this->query->setMetrics($metrics);
     $this->assertTrue($this->query->hasMetrics());
     $this->assertSame($metrics, $this->query->getMetrics());
 }