@Override
	public Set<OAuth2RefreshTokenEntity> getAllRefreshTokensForUser(String userName) {
		return tokenRepository.getRefreshTokensByUserName(userName);
	}
@Test
	public void getAllRefreshTokensForUser(){
		when(tokenRepository.getRefreshTokensByUserName(userName)).thenReturn(newHashSet(refreshToken));
		
		Set<OAuth2RefreshTokenEntity> tokens = service.getAllRefreshTokensForUser(userName);
		assertEquals(1, tokens.size());
		assertTrue(tokens.contains(refreshToken));
	}