@Test
public void generateAuthTokenTest() throws Exception {

    // Setup:
    Map<String, Object> config = new HashMap<>();
    config.put("tokenDurationMins", 1);
    manager.start(config);
    SignedJWT result = manager.generateAuthToken("username");
    assertEquals(jwt, result);
    verify(mobiTokenVerifier).generateToken("username", SimpleTokenManager.ISSUER, SimpleTokenManager.AUTH_SCOPE, 60000, null);
}