}
@Test
public void correctDevice() {
IOSCapabilities cap = IOSCapabilities.iphone("UICatalog");
driver = new RemoteIOSDriver(getRemoteURL(), cap);
IOSCapabilities actual = driver.getCapabilities();
Assert.assertEquals(actual.getDevice(), DeviceType.iphone);
driver.quit();
cap = IOSCapabilities.ipad("UICatalog");
driver = new RemoteIOSDriver(getRemoteURL(), cap);
actual = driver.getCapabilities();
Assert.assertEquals(actual.getDevice(), DeviceType.ipad);
}