public void testGetSignerId_emptyCertChain() throws Exception { certChain = ImmutableList.of(); try { new SignerInfo(HashAlgorithm.SHA256, certChain, DOMAIN); fail("expected exception, but didn't get it"); } catch (IllegalArgumentException e) { // expected } }
public void testGetSignerId_emptyCertChain() throws Exception { certChain = ImmutableList.of(); try { new SignerInfo(HashAlgorithm.SHA256, certChain, DOMAIN); fail("expected exception, but didn't get it"); } catch (IllegalArgumentException e) { // expected } }