@Test
public void testRemove() {

  createSingleRecord();
  createSingleRecord();
  Assert.assertEquals(2, repositoryVersionDAO.findAll().size());
  repositoryVersionDAO.remove(repositoryVersionDAO.findByPK(FIRST_ID));
  Assert.assertEquals(1, repositoryVersionDAO.findAll().size());
  Assert.assertNull(repositoryVersionDAO.findByPK(1L));
}