public class JwtLoginModuleTest extends Object
JwtLoginModule
.Modifier and Type | Field and Description |
---|---|
org.jmock.integration.junit4.JUnitRuleMockery |
context |
org.junit.rules.ExpectedException |
expectedException |
Constructor and Description |
---|
JwtLoginModuleTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testGetRoles() |
void |
testGetRoleSets() |
void |
testGetRoleSetsWhenNoClaims() |
void |
testGetRoleSetsWhenRuntimeException() |
void |
testGetRolesWhenClaimsNotPresent() |
void |
testLogin() |
void |
testLoginWhenCallbackReturnsNonCredential() |
void |
testLoginWhenIOException() |
void |
testLoginWhenUnsupportedCallback() |
public final org.jmock.integration.junit4.JUnitRuleMockery context
public final org.junit.rules.ExpectedException expectedException
public void testLoginWhenCallbackReturnsNonCredential() throws Exception
Exception
public void testLoginWhenUnsupportedCallback() throws Exception
Exception
public void testGetRoleSetsWhenNoClaims() throws Exception
Exception
public void testGetRoleSetsWhenRuntimeException() throws Exception
Exception
Copyright © 2014–2019. All rights reserved.