public function test_getMetricTotalValue_shouldReturnZeroIfMetricHasNoTotal()
{
$table = new DataTable();
$table->setMetadata('totals', array('nb_visits' => '17'));
$total = $this->model->getMetricTotalValue($table, 'unknown_metric');
$this->assertEquals(0, $total);
}