}
protected void removeUser()
{
twitter.createEntityManager();
UserRDBMS user1 = twitter.findUserById(userId1);
// TODO: this needs to uncomment only after fixing update issue on
// associations
// assertUpdatedUser1(user1);
twitter.removeUser(user1);
UserRDBMS user1AfterRemoval = twitter.findUserById(userId1);
Assert.assertNull(user1AfterRemoval);
UserRDBMS user2 = twitter.findUserById(userId2);
// TODO: this needs to uncomment only after fixing update issue on
// associations
// assertUpdatedUser1(user1);
twitter.removeUser(user2);
UserRDBMS user2AfterRemoval = twitter.findUserById(userId2);
Assert.assertNull(user2AfterRemoval);
twitter.closeEntityManager();
}