@Override
	public Set<OAuth2RefreshTokenEntity> getAllRefreshTokens() {
		TypedQuery<OAuth2RefreshTokenEntity> query = manager.createNamedQuery(OAuth2RefreshTokenEntity.QUERY_ALL, OAuth2RefreshTokenEntity.class);
		return new LinkedHashSet<>(query.getResultList());
	}
@Test
	public void testGetAllRefreshTokens(){
		Set<OAuth2RefreshTokenEntity> tokens = repository.getAllRefreshTokens();
		assertEquals(5, tokens.size());
	}