@Test public void testPolicies() { assertThat(getValidator().getPolicies(Collections.emptyList(), Collections.emptyMap())).isEqualTo(Collections.emptyList()); }
List<Policy> getPolicies(List<String> policyFileNames, Map<String, String> replacements) { List<Policy> policies = new ArrayList<>(policyFileNames.size()); for (String policyFileName : policyFileNames) { Policy policy = awsIamService.getPolicy(policyFileName, replacements); if (policy != null) { policies.add(policy); } } return policies; }
AwsIDBrokerMappedRolePermissionValidator { List<Policy> getPolicies(List<String> policyFileNames, Map<String, String> replacements) { List<Policy> policies = new ArrayList<>(policyFileNames.size()); for (String policyFileName : policyFileNames) { Policy policy = awsIamService.getPolicy(policyFileName, replacements); if (policy != null) { policies.add(policy); } } return policies; } }
AwsIDBrokerMappedRolePermissionValidator { List<Policy> getPolicies(List<String> policyFileNames, Map<String, String> replacements) { List<Policy> policies = new ArrayList<>(policyFileNames.size()); for (String policyFileName : policyFileNames) { Policy policy = awsIamService.getPolicy(policyFileName, replacements); if (policy != null) { policies.add(policy); } } return policies; }  }
AwsIDBrokerMappedRolePermissionValidator { List<Policy> getPolicies(List<String> policyFileNames, Map<String, String> replacements) { List<Policy> policies = new ArrayList<>(policyFileNames.size()); for (String policyFileName : policyFileNames) { Policy policy = awsIamService.getPolicy(policyFileName, replacements); if (policy != null) { policies.add(policy); } } return policies; }  void validate(AmazonIdentityManagement iam, CloudS3View cloudFileSystem,
            ValidationResultBuilder validationResultBuilder); }
AwsIDBrokerMappedRolePermissionValidator { List<Policy> getPolicies(List<String> policyFileNames, Map<String, String> replacements) { List<Policy> policies = new ArrayList<>(policyFileNames.size()); for (String policyFileName : policyFileNames) { Policy policy = awsIamService.getPolicy(policyFileName, replacements); if (policy != null) { policies.add(policy); } } return policies; }  void validate(AmazonIdentityManagement iam, CloudS3View cloudFileSystem,
            ValidationResultBuilder validationResultBuilder);  }