  @Test public void testGetIssues() throws Exception {

    CustomIssueRegistry customIssueRegistry = new CustomIssueRegistry();

    List<Issue> actual = customIssueRegistry.getIssues();

    assertThat(actual).containsExactly(
        HelloWorldDetector.ISSUE,
        IdPrefixDetector.ISSUE,
        StringReferencesDetector.ISSUE,
        ClassNamesDetector.ISSUE,
        LayoutNamesDetector.ISSUE
    );
  }