public void testU8500EncrypterThrowSignerServiceException() { try { byte[] dataByte = u8500Encrypter.calculateU8500Signature(data, key); assertNotNull(dataByte); fail("Should not get here"); } catch (SignerServiceException e) { e.printStackTrace(); } }
public void testU8500Encrypter() { try { byte[] dataByte = u8500Encrypter.calculateU8500Signature(data, fromPriv); assertNotNull(dataByte); } catch (SignerServiceException e) { e.printStackTrace(); fail("Exception"); } }