@Test
public void harvestHistoricTradeTweetsTest() {

	CopyTwitterStrategy<String> copyTwitterStrategy = new CopyTwitterStrategy<String>();
	FXTweetHandler<String> tweetHandlerFoo = createTweetHandlerFoo(copyTwitterStrategy);
	TradeableInstrument<String> gbpusd = new TradeableInstrument<String>("GBP_USD");
	Collection<CloseFXTradeTweet<String>> closeTradeTweets = copyTwitterStrategy.harvestHistoricTradeTweets(
			userIdbar, gbpusd);
	assertTrue(closeTradeTweets.isEmpty());
	Tweet tweet1 = mock(Tweet.class);
	Tweet tweet2 = mock(Tweet.class);
	Collection<Tweet> footweets = Lists.newArrayList(tweet1, tweet2);
	when(tweetHandlerFoo.findHistoricPnlTweetsForInstrument(gbpusd)).thenReturn(footweets);
	when(tweetHandlerFoo.handleTweet(tweet1)).thenReturn(mock(CloseFXTradeTweet.class));
	when(tweetHandlerFoo.handleTweet(tweet2)).thenReturn(mock(CloseFXTradeTweet.class));
	closeTradeTweets = copyTwitterStrategy.harvestHistoricTradeTweets(userIdfoo, gbpusd);
	assertEquals(2, closeTradeTweets.size());
}