Example #1
0
 public function testStoresDuration()
 {
     $query = new Query($this->db);
     $start = microtime(true);
     $query->setDuration($start, $start + 5);
     $this->assertEquals(5, $query->getDuration());
 }