existingHashTagContents.add("#bar");
existingHashTagContents.add("potato");
existingHashTagContents.add("#rice");
List<HashTag> existingHashTags = new ArrayList<HashTag>();
existingHashTags.add(new HashTag("potato"));
existingHashTags.add(new HashTag("#rice"));
existingHashTags.addAll(getEntityManager().createQuery("FROM HashTag WHERE id IN(1,2)").getResultList());
sut.refresh(existingHashTagContents, existingHashTags);
// make sure all of the hashtags were replaced with database entities