@Test
public void removesTrailingSlashesFromUrl() {

    DownloadFormListUtils downloadFormListUtils = new DownloadFormListUtils(
            RuntimeEnvironment.application,
            client,
            new WebCredentialsUtils(),
            new FormsDao()
    );
    downloadFormListUtils.downloadFormList("http://blah.com///", "user", "password", false);
    verify(client).getXmlDocument("http://blah.com/formList");
}