public IStatisticsReporter CreateSubReporter(string name)
        {
            var subReporter = new StatisticsReporter(_clock);

            AddInner(name, new SubReporter(subReporter, name));

            return(subReporter);
        }
        public void SetUp()
        {
            _clock      = new ManualClock();
            _clock.Time = 1234567.0;

            _report = new ReportMock();

            _statisticsReporter = new StatisticsReporter(_clock);
        }
 public SubReporter(StatisticsReporter statisticsReporter, string name)
 {
     _statisticsReporter = statisticsReporter;
     _name = name;
 }