@Override
	public Set<OAuth2AccessTokenEntity> getAllAccessTokensForUser(String userName) {
		return tokenRepository.getAccessTokensByUserName(userName);
	}
@Test
	public void getAllAccessTokensForUser(){
		when(tokenRepository.getAccessTokensByUserName(userName)).thenReturn(newHashSet(accessToken));
		
		Set<OAuth2AccessTokenEntity> tokens = service.getAllAccessTokensForUser(userName);
		assertEquals(1, tokens.size());
		assertTrue(tokens.contains(accessToken));
	}