@Override
      public String apply(UpgradeHistoryEntity input) {
        return input.getServiceName() + "/" + input.getComponentName();
      }
Tests that from/to repository version history is created correctly on the
upgrade.

@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java