/**
  * @dataProvider getFixtures
  */
 public function testParse($useragent, $os)
 {
     $osParser = new OperatingSystem();
     $osParser->setUserAgent($useragent);
     $this->assertEquals($os, $osParser->parse());
     self::$osTested[] = $os['short_name'];
 }
 protected function parseOs()
 {
     $osParser = new OperatingSystem();
     $osParser->setUserAgent($this->getUserAgent());
     $osParser->setCache($this->getCache());
     $this->os = $osParser->parse();
 }