@Test(dataProvider = "browserNameUserAgentData")
 public void getBrowserName(String userAgent, String expected) {
   final BrowserService browserDef = new BrowserServiceImpl(userAgent);
   assertEquals(browserDef.getBrowserName(), expected);
 }
 @Test(dataProvider = "browserMajorVersionUserAgentData")
 public void getBrowserMajorVersion(String userAgent, int expected) {
   final BrowserService browserDef = new BrowserServiceImpl(userAgent);
   assertEquals(browserDef.getBrowserMajorVersion(), expected);
 }