@Test
public void testUrlExistsAndNeverDownloaded() {

    String url = "http://test.example.com/hello";
    Entry entry = createEntry(url, 10);
    when(robotsRepository.findByHost(anyString())).thenReturn(entry);
    when(redisUrlRepository.exists(anyString())).thenReturn(true);
    consumerService.receiveUrl(url);
    verify(downloaderService, never()).download(anyString(), anyString());
}