@Test(expected = NoSuchContextException.class)
 public void testContextError() {
   driver.context("Planet of the Ape-ium");
 }
 @Test
 public void testSwitchContext() {
   driver.getContextHandles();
   driver.context("WEBVIEW_1");
   assertEquals(driver.getContext(), "WEBVIEW_1");
 }
 @Test
 public void testGetContext() {
   assertEquals("NATIVE_APP", driver.getContext());
 }
 @Test
 public void testGetContextHandles() {
   assertEquals(driver.getContextHandles().size(), 2);
 }
 @After
 public void tearDown() throws Exception {
   driver.quit();
 }