@Test
public void validEncodedDataTest() {

    final String rootLink = "www.some-link.net&";
    JiraLinkGenerator jiraLink = new JiraLinkGenerator(rootLink);
    String expectedString = rootLink + "summary=Summary&description=Description&reporter=Toto";
    String generatedLink = jiraLink.generateLink("Summary", "Description", "Toto");
    assertEquals(expectedString,generatedLink);
}