@Test
public void testValidSignature() throws Exception {

    boolean valid = true;
    InputStream pesFile = new ClassPathResource("data/PESALR2_25060187900027_190328_001.xml").getInputStream();
    try {
        signatureService.validatePes(pesFile);
    } catch (SignatureException e) {
        valid = false;
    }
    Assert.assertTrue(valid);
}