@Test
  public void testGetUsdIssuesCount() throws Exception {

    // Given
    Issue issue = new Issue();
    when(usdIssuesService.getUsdIssues(anyString(), anyBoolean())).thenReturn(Arrays.asList(issue));

    // When
    Future<CountResult> issues = notificationService.getUsdIssuesCount("anyScreenName");

    // Then
    assertEquals(1, (int) issues.get().getCount());
  }
  @Test
  public void testGetUsdIssues() {

    // Given
    Issue issue = new Issue();
    when(usdIssuesService.getUsdIssues(anyString(), anyBoolean())).thenReturn(Arrays.asList(issue));

    // When
    List<Issue> issues = notificationService.getUsdIssues("anyScreenName");

    // Then
    assertEquals(1, issues.size());
  }