@Test
public void testValidateSpiffeURINoValues() throws IOException {

    Path path = Paths.get("src/test/resources/valid.csr");
    String csr = new String(Files.readAllBytes(path));
    X509CertRequest certReq = new X509CertRequest(csr);
    assertTrue(certReq.validateSpiffeURI("domain", "sa", "api"));
}