/**
  * @test
  */
 public function doNotInsertWhenValuesAreadyExist()
 {
     $countryMap = new CountryMap();
     $service = new DatacenterService($this->dao, $countryMap);
     $service->insertValues($this->inputFile, 1, 1, 1, 1, 1);
     $dataParam = new DataParam(1, 1, 1, 1, 1, 1);
     $this->assertEquals(2, $service->getValuesWithSimpleFilter($dataParam)->count());
     $this->emptyDatabase();
     $file = __DIR__ . "/Teste.xls";
     $this->spreadsheetReader = new Spreadsheet_Excel_Reader($file);
     $this->inputFile->setNewSpreadsheet($this->spreadsheetReader);
     $service->insertValues($this->inputFile, 1, 1, 1, 1, 1);
     $dataParam_2 = new DataParam(1, 1, 1, 1, 1, 1);
     $this->assertEquals(4, $service->getValuesWithSimpleFilter($dataParam_2)->count());
 }