@Test
public void testDelete() {

  createSingleRecord();
  Assert.assertNotNull(repositoryVersionDAO.findByStackAndVersion(HDP_206,
      "version"));
  final RepositoryVersionEntity entity = repositoryVersionDAO.findByStackAndVersion(
      HDP_206, "version");
  repositoryVersionDAO.remove(entity);
  Assert.assertNull(repositoryVersionDAO.findByStackAndVersion(HDP_206,
      "version"));
}