public RunView(IQueuingSystem system, ISystemClock clock)
 {
     this.clock = clock;
     this.system = system;
     runCommand = new RelayCommand(Run);
     stopCommand = new RelayCommand(Stop);
     continueCommand = new RelayCommand(Continue);
     resetCommand = new RelayCommand(Reset);
 }
        public void TestInitialize()
        {
            generator = new MockSystemGenerator();

            clock = new SystemClock();
            engine = new Engine(clock, generator);
            devices = new SystemDevices(clock);


            systemDiscipline = new Fifo {TotalSize = 10};

            configuration = new SystemConfiguration(generator, devices, systemDiscipline);

            statistics = new SystemStatistics();

            system = new QueuingSystem(configuration, clock, engine, statistics);

            InitializeDevices();
        }