@Test
public void testOnBeforeCreateRefreshToken() {

	BearerTokenProvider.RefreshToken refreshToken = generateRefreshToken(
		0, 0);
	_defaultBearerTokenProvider.onBeforeCreate(refreshToken);
	Assert.assertEquals(
		refreshToken.getExpiresIn(), _REFRESH_TOKEN_EXPIRES_IN);
	Assert.assertEquals(
		_TOKEN_KEY_STRING_32_BYTES_HEX, refreshToken.getTokenKey());
}