EasyMock.expect(tweet.getSource()).andReturn("schneider_chris").anyTimes();
Date now = new Date();
EasyMock.expect(tweet.getCreatedAt()).andReturn(now).anyTimes();
EasyMock.expect(tweet.getText()).andReturn("#camel mytopic 2").anyTimes();
EasyMock.replay(tweet);
Vote vote = converter.convert(tweet);
Assert.assertEquals(tweet.getSource(), vote.getFromUser());
Assert.assertEquals(now, vote.getVoteDateTime());
Assert.assertEquals(2, vote.getVote());
Assert.assertEquals("mytopic", vote.getTopic());
EasyMock.verify(tweet);
}