@Test
public void testFindByClusterAndStackAndVersion() throws Exception {

  createRecordsUntilStep(1);
  Assert.assertNull(clusterVersionDAO.findByClusterAndStackAndVersion(
      cluster.getClusterName(), BAD_STACK, "non existing"));
  Assert.assertNotNull(clusterVersionDAO.findByClusterAndStackAndVersion(
      cluster.getClusterName(), HDP_22_STACK, "2.2.0.0-995"));
}