@Test
public void testRefresh() {

  BlueprintEntity entity = new BlueprintEntity();
  // set expectations
  entityManager.refresh(eq(entity));
  replay(entityManager);
  BlueprintDAO dao = new BlueprintDAO();
  dao.entityManagerProvider = entityManagerProvider;
  dao.refresh(entity);
  verify(entityManagerProvider, entityManager);
}