Class MockJwtAccessTokenRule

java.lang.Object
net.officefloor.web.jwt.mock.AbstractMockJwtAccessTokenJUnit
net.officefloor.web.jwt.mock.MockJwtAccessTokenRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class MockJwtAccessTokenRule extends AbstractMockJwtAccessTokenJUnit implements org.junit.rules.TestRule

TestRule to mock JWT access tokens for the JwtHttpSecuritySource.

This allows generating access tokens for testing the application.

Author:
Daniel Sagenschneider
  • Constructor Details

    • MockJwtAccessTokenRule

      public MockJwtAccessTokenRule()
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule