public class Jose4jClaimsTest extends Object
Jose4jClaims
.Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
Constructor and Description |
---|
Jose4jClaimsTest() |
public void testGetIssuerWhenNotPresent() throws Exception
Exception
public void testGetAudienceWhenNotPresent() throws Exception
Exception
public void testGetSubjectWhenNotPresent() throws Exception
Exception
public void testGetIssuedAtWhenNotPresent() throws Exception
Exception
public void testGetExpiresAtWhenNotPresent() throws Exception
Exception
public void testGetAudiencesOptionalWhenString() throws Exception
Exception
public void testGetAudiencesOptionalWhenList() throws Exception
Exception
public void testGetAudiencesOptionalWhenOtherType() throws Exception
Exception
public void testGetAudiencesOptionalWhenNoAudience() throws Exception
Exception
public void testGetStringOptionalWhenNotFound() throws Exception
Exception
public void testGetStringOptionalWhenWrongType() throws Exception
Exception
public void testGetBooleanOptionalWhenNotFound() throws Exception
Exception
public void testGetBooleanOptionalWhenWrongType() throws Exception
Exception
public void testGetNumberOptionalAsLong() throws Exception
Exception
public void testGetNumberOptionalAsInteger() throws Exception
Exception
public void testGetNumberOptionalAsDouble() throws Exception
Exception
public void testGetNumberOptionalWhenNotFound() throws Exception
Exception
public void testGetNumberOptionalWhenWrongType() throws Exception
Exception
public void testGetArrayOptionalAsList() throws Exception
Exception
public void testGetArrayOptionalAsSet() throws Exception
Exception
public void testGetArrayOptionalAsArray() throws Exception
Exception
Copyright © 2019. All rights reserved.