public class Jose4jValidatorTest extends Object
Jose4jValidator
.Modifier and Type | Field and Description |
---|---|
org.jmock.integration.junit4.JUnitRuleMockery |
context |
org.junit.rules.ExpectedException |
expectedException |
Constructor and Description |
---|
Jose4jValidatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
testBuildWhenNoAssertions() |
void |
testBuildWhenNoSignatureOperator() |
void |
testBuildWhenNothingConfigured() |
void |
testUseDefaultClock() |
void |
testUseDefaultEncryptionOperator() |
void |
testValidateSuccess() |
void |
testValidateWhenAssertionFails() |
void |
testValidateWhenDecryptionFails() |
void |
testValidateWhenSignatureValidationFails() |
public final org.jmock.integration.junit4.JUnitRuleMockery context
public final org.junit.rules.ExpectedException expectedException
public void testBuildWhenNothingConfigured() throws Exception
Exception
public void testBuildWhenNoSignatureOperator() throws Exception
Exception
public void testBuildWhenNoAssertions() throws Exception
Exception
public void testUseDefaultEncryptionOperator() throws Exception
Exception
public void testValidateWhenAssertionFails() throws Exception
Exception
public void testValidateWhenSignatureValidationFails() throws Exception
Exception
Copyright © 2019. All rights reserved.