@Test
public void testAlteredSignature() throws Exception {

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