Bob buys a Club Fitness, Inc., franchise, which the franchisor later terminates. In determining whether the termination was proper, a court will generally