@Test public void get_OneElementDifferentIssueTypes() { String html = "\n\nx<a/>"; String issuesJson = "[{\"code\":\"1\",\"message\":\"m\",\"type\":1,\"elementString\":\"<a/>\"}," + "{\"code\":\"1\",\"message\":\"m\",\"type\":2,\"elementString\":\"<a/>\"}]"; issues = new AccessibilityIssueMarkupFinder(html, issuesJson).get(); verifySingleIssue(issues.get(0), 3, 2); verifySingleIssue(issues.get(1), 3, 2); }
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);   }