@Test
public void testMerge() {

  createSingleRecord();
  RepositoryVersionEntity entity = repositoryVersionDAO.findByPK(FIRST_ID);
  entity.setDisplayName("newname");
  repositoryVersionDAO.merge(entity);
  entity = repositoryVersionDAO.findByPK(FIRST_ID);
  Assert.assertEquals("newname", entity.getDisplayName());
}