@Test
public void testTheCouchDbUrl() throws Exception {

    AttachmentContent attachmentContent = mock(AttachmentContent.class);
    when(attachmentContent.getRemoteUrl()).thenReturn(DatabaseTestProperties.COUCH_DB_URL);
    try (InputStream download = attachmentContentDownloader.download(attachmentContent, downloadTimeout)) {
        String read = CharStreams.toString(new InputStreamReader(download));
        assertThat(read, is(not(nullOrEmpty())));
        assertThat(read, containsString("couchdb"));
    }
}