assertNull(store.getTokenInfo(st, createMock(ConsumerInfo.class), "service2", "token2"));
}
@Test
public void testRemoveToken() throws Exception {
TokenInfo info = new TokenInfo("accessToken1", "tokenSecret1", "sessionHandle1", 1000L);
SecurityToken st = createSecurityTokenMock("viewer1");
store.setTokenInfo(st, createMock(ConsumerInfo.class), "service1", "token1", info);
assertEquals(info, store.getTokenInfo(st, createMock(ConsumerInfo.class), "service1", "token1"));
store.removeToken(st, createMock(ConsumerInfo.class), "service1", "token1");
assertNull(store.getTokenInfo(st, createMock(ConsumerInfo.class), "service1", "token1"));