public void CalculateFitnessTest(string key)
        {
            unit = new Wrapper(new OptimizerConfiguration
            {
                FitnessTypeName = "Optimization.ConfiguredFitness",
                Fitness         = new FitnessConfiguration
                {
                    Scale     = 0.1,
                    Modifier  = -1,
                    Name      = "TestName",
                    ResultKey = key
                }
            });

            var actual = unit.CalculateFitnessWrapper(new Dictionary <string, decimal> {
                { "TotalNumberOfTrades", 10 }
            });

            Assert.AreEqual(-1d, actual.Item2);
        }