@Test public void get_NestedIssues() { String html = "\nx\nxxx\n<div id=\"footer\"><a href=\"test\"></a></div>"; String issuesJson = "[{\"code\":\"1\",\"message\":\"m\",\"type\":1,\"elementString\":\"<div id=\\\"footer\\\"><a href=\\\"test\\\"></a></div>\"}," + "{\"code\":\"1\",\"message\":\"m\",\"type\":1,\"elementString\":\"<a href=\\\"test\\\"></a>\"}]"; issues = new AccessibilityIssueMarkupFinder(html, issuesJson).get(); verifySingleIssue(issues.get(0), 4, 1); verifySingleIssue(issues.get(1), 4, 18); }
List<AccessibilityIssue> get() { fetchElementPositions(); return issues; }
AccessibilityIssueMarkupFinder { List<AccessibilityIssue> get() { fetchElementPositions(); return issues; } }
AccessibilityIssueMarkupFinder { List<AccessibilityIssue> get() { fetchElementPositions(); return issues; } AccessibilityIssueMarkupFinder(String html, String json); }
AccessibilityIssueMarkupFinder { List<AccessibilityIssue> get() { fetchElementPositions(); return issues; } AccessibilityIssueMarkupFinder(String html, String json);  }
AccessibilityIssueMarkupFinder { List<AccessibilityIssue> get() { fetchElementPositions(); return issues; } AccessibilityIssueMarkupFinder(String html, String json);   }