assertFalse(configuration.hasPlatformType(PlatformType.LINUX));
}
public void testGetBrowserOfTypeAndVersion() throws Exception {
ServerConfiguration configuration = new ServerConfiguration(new FullValidConfigurationSource());
assertEquals(new Browser("iexplore.exe", 0), configuration.getBrowserMatching(new BrowserSpecification(PlatformType.WINDOWS, BrowserType.INTERNET_EXPLORER)));
assertEquals(new Browser("opera.exe", 1), configuration.getBrowserMatching(new BrowserSpecification(PlatformType.WINDOWS, BrowserType.OPERA)));
assertNull(configuration.getBrowserMatching(new BrowserSpecification(PlatformType.WINDOWS, BrowserType.FIREFOX)));
}