Assert.assertFalse(user == null);
Assert.assertEquals("0001", user.getUserId());
List<TweetCassandra> tweets = user.getTweets();
Assert.assertFalse(tweets == null);
Assert.assertTrue(tweets.size() == 1);
TweetCassandra tweet = tweets.get(0);
Assert.assertNotNull(tweet);
Assert.assertEquals("Web", tweet.getDevice());
// Negative scenario, record doesn't exist for user who is single and
// tweeted from mobile
twitter.createEntityManager();
List<UserCassandra> users2 = twitter.findByRelationshipAndDevice("single", "Mobile");