@Test
  public void testGetAlfrescoCount() throws ExecutionException, InterruptedException {

    // Given
    Site site = new Site();
    Document document = new Document();
    site.setRecentModifiedDocuments(Arrays.asList(document));
    when(alfrescoDocumentsService.getRecentlyModified(anyString(), anyBoolean()))
        .thenReturn(Arrays.asList(site));

    // When
    Future<CountResult> count = notificationService.getAlfrescoCount("anyScreenName");

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

    // Given
    Site site = new Site();
    Document document = new Document();
    site.setRecentModifiedDocuments(Arrays.asList(document));
    when(alfrescoDocumentsService.getRecentlyModified(anyString(), anyBoolean()))
        .thenReturn(Arrays.asList(site));

    // When
    List<Site> sites = notificationService.getAlfrescoDocuments("anyScreenName");

    // Then
    assertEquals(1, sites.get(0).getRecentModifiedDocuments().size());
  }