private UpgradeContext getMockUpgradeContextNoReplay(Cluster cluster, Direction direction,
      UpgradeType type, RepositoryVersionEntity repositoryVersion) {
    Set<String> allServices = cluster.getServices().keySet();

    return getMockUpgradeContext(cluster, direction, type, repositoryVersion,
        RepositoryType.STANDARD, allServices, null, false);
  }
Builds a mock upgrade context using the following parameters:
<ul>
<li>{@link RepositoryType#STANDARD}
<li>All cluster services
</ul>

@param cluster
         the cluster for the upgrade
@param direction
         the upgrade direction
@param type
         the type of upgrade
@param repositoryVersion
         the repository version to use for the upgrade or downgrade.
@return a mock {@link UpgradeContext} which has already been replayed and
        is ready to use.
ambari-server/src/test/java/org/apache/ambari/server/stack/upgrade/orchestrate/UpgradeHelperTest.java