> + assertEquals(role2, role1, "role2 should equal role1");
> + }
> +
> + public void rolesWithDifferentEnvRunListAreNotEqual() {
> + String env = "env";
> + String entry = "entry";
> +
> + Role role1 = Role.builder().envRunListElement(env,
> entry.toUpperCase()).build();
> + Role role2 = Role.builder().envRunListElement(env,
> entry.toLowerCase()).build();
> +
> + assertNotEquals(role1.hashCode(), role2.hashCode(), "hashCodes should
> not be equal");
> + assertNotEquals(role1, role2, "role1 should not equal role2");
> + assertNotEquals(role2, role1, "role2 should not equal role1");
> + }
> +
> + private void verifyRunListForEnvironment(Map<String, List<String>>
> envRunList, String envName,
Make this public static so you can call it from the live test too and avoid the
code duplication?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/912/files#r51795747