### Question:
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);  }### Answer:
@Test public void testPolicies() { assertThat(getValidator().getPolicies(Collections.emptyList(), Collections.emptyMap())).isEqualTo(Collections.emptyList()); }