@Test
public void testDelete() {

	AccessTokenStore accessTokenStore = new AccessTokenStore();
	AccessToken initialAccessToken = new AccessToken(
		new OAuth2AccessToken(RandomTestUtil.randomString()));
	long companyId = RandomTestUtil.randomInt();
	long userId = RandomTestUtil.randomInt();
	accessTokenStore.add(companyId, userId, initialAccessToken);
	accessTokenStore.delete(companyId, userId);
	Optional<AccessToken> accessTokenOptional =
		accessTokenStore.getAccessTokenOptional(companyId, userId);
	Assert.assertTrue(!accessTokenOptional.isPresent());
}