OAuthRequestTokenDao oAuthRequestTokenDao;
@Before
public void setUp() throws Exception {
MockitoAnnotations.initMocks(this);
OAuthRequestToken testToken = new OAuthRequestToken(new Token("access", "secret"));
when(oAuthRequestTokenDao.findByToken("access")).thenReturn(testToken);
mongoDbOAuthTokenCacheService = new MongoDbOAuthTokenCacheService(oAuthRequestTokenDao);
}