/** * checks if the default browser is added sucessfully * * @group data * @group sourcetest */ public function testAddDefaultBrowser() { self::assertSame($this->object, $this->object->addDefaultBrowser(__DIR__ . '/../../fixtures/ua/default-browser.json')); $division = $this->object->getDefaultBrowser(); self::assertInstanceOf('\\Browscap\\Data\\Division', $division); self::assertSame('Default Browser', $division->getName()); }