@Test
public void testSuggestUpgradePack() throws Exception{

  final String clusterName = "c1";
  final String upgradeFromVersion = "2.1.1";
  final String upgradeToVersion = "2.2.0";
  final Direction upgradeDirection = Direction.UPGRADE;
  final UpgradeType upgradeType = UpgradeType.ROLLING;
  makeCluster();
  try {
    String preferredUpgradePackName = "upgrade_test";
    UpgradePack up = m_upgradeHelper.suggestUpgradePack(clusterName, upgradeFromVersion, upgradeToVersion, upgradeDirection, upgradeType, preferredUpgradePackName);
    assertEquals(upgradeType, up.getType());
  } catch (AmbariException e){
    assertTrue(false);
  }
}