@Test
public void testParseCertificateRoleURIs() throws Exception {

    CertificateIdentityParser parser = new CertificateIdentityParser(null, false);
    X509Certificate[] certs = new X509Certificate[]{ this.readCert("role_cert_multiple_uri.cert") };
    CertificateIdentity certId = parser.parse(certs);
    assertNotNull(certId);
    assertEquals(certId.getRoles(), Arrays.asList("coretech:role.readers", "coretech:role.writers"));
}