@Test
void policyChangedWithDifferentPolicies() {

    Policy policy1 = Policy.fromJson(ClasspathResources.text("iam-test/policy1.json"));
    Policy policy2 = Policy.fromJson(ClasspathResources.text("iam-test/policy2.json"));
    boolean changed = instanceProfileHelper.policyChanged(policy1, policy2);
    assertTrue(changed);
}