@Test
public void testLinkGeneration() {

    Assertions.assertThat(DocumentDownloadLinkGenerator.generateDownloadLink(TEMPLATE_ID,
                                                                             DOC_ID))
            .doesNotContain(DocumentDownloadLinkGenerator.TEMPLATE_ID_TOKEN)
            .doesNotContain(DocumentDownloadLinkGenerator.DOCUMENT_ID_TOKEN)
            .contains(TEMPLATE_ID)
            .contains(DOC_ID);
}