@Test public void home() { PageLink link = PageLink.of(""); assertEquals(1, screensFrom(link).length); Page screen = screensFrom(link)[0]; assertNotNull(screen); assertEquals(link, screen.link); }
@Test public void device_info() { PageLink link = PageLink.of("Device Info"); assertEquals(1, screensFrom(link).length); Page screen = screensFrom(link)[0]; assertNotNull(screen); assertEquals(link, screen.link); }