public void testFindOAuthTokenInfo_nullValue() throws Exception {
expect(repository.findOAuthTokenInfo(INVALID_USER, APP_URL, NOT_USED, TOKEN_NAME, SERVICE_NAME))
.andReturn(null);
replay(repository);
OAuthTokenInfo oAuthTokenInfo = service.findOAuthTokenInfo(INVALID_USER, APP_URL, NOT_USED,
TOKEN_NAME, SERVICE_NAME);
assertNull(oAuthTokenInfo);
}