public void GivenHighScoringGameTheCorrectInterestLevelIsReturned()
        {
            var matchStats = new MatchStatsEntity
            {
                HomeScore = 15,
                AwayScore = 15
            };

            var interest = _interestCalculator.CalculateMatchInterest(matchStats);

            Assert.AreEqual(interest, InterestLevel.Exciting);
        }
        public InterestLevel Execute(MatchStatsEntity match)
        {
            var interest = InterestLevel.Unknown;

            try
            {
                _logger.LogMessage(string.Format("{0} execution started - {1}", this.GetType().Name, DateTime.Now));

                interest = _interestCalculator.CalculateMatchInterest(match);

                _logger.LogMessage(string.Format("Match interest level rated at - *[{0}]*", interest));
                _logger.LogMessage(string.Format("{0} finished successfully - {1}", this.GetType().Name, DateTime.Now));
            }
            catch (Exception ex)
            {
                _logger.LogMessage(string.Format("{0} error occurred - {1}", this.GetType().Name, ex.Message), true);
            }

            return(interest);
        }