public HostRoleCommandStatusSummaryDTO completed(int count) {
    put(HostRoleStatus.COMPLETED, Integer.valueOf(count));
    return this;
  }
For testing, set the number of {@link HostRoleStatus#COMPLETED} tasks
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostRoleCommandStatusSummaryDTO.java