@Test
public void testFindByStackAndVersion() {

  createSingleRecord();
  Assert.assertNull(repositoryVersionDAO.findByStackAndVersion(BAD_STACK,
      "non existing"));
  Assert.assertNotNull(repositoryVersionDAO.findByStackAndVersion(HDP_206,
      "version"));
}