private function reportExists($idSite, $report, $metric)
 {
     try {
         $validator = new Validator();
         $validator->checkApiMethodAndMetric($idSite, $report, $metric);
     } catch (\Exception $e) {
         return false;
     }
     return true;
 }
 public function test_checkComparedTo_ShouldNotFail_IfValid()
 {
     $this->assertNull($this->validator->checkComparedTo('day', 7));
     $this->assertNull($this->validator->checkComparedTo('week', 1));
     $this->assertNull($this->validator->checkComparedTo('month', 12));
 }