> + public void testGetHttpRedirectWhenNotFound() {
> +
> assertNull(api.getHttpRedirectApiForZone(fqdn).getHttpRedirect(unknownRedirectName));
> + }
> +
> + @Test
> + public void testUpdateHttpRedirectWhenNotFound() {
> +
> assertNull(api.getHttpRedirectApiForZone(fqdn).scheduleUpdate(redirect));
> + }
> +
> + @Test
> + public void testDeleteHttpRedirectWhenNotFound() {
> +
> assertNull(api.getHttpRedirectApiForZone(fqdn).scheduleDelete(unknownRedirectName));
> + }
> +
> + String fqdn = System.getProperty("user.name").replace('.', '-') +
> ".zone.dynecttest.jclouds.org";
> + String contact = JcloudsVersion.get() + ".jclouds.org";
What's the reason for constructing these two in this rather complex way (vs.
e.g. using constants). Are there some requirements, i.e. is the user supposed
to have a valid zone?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/37/files#r5013129