public void SetUp()
 {
     wasExecuted = false;
     command = new ActionCommand(() => wasExecuted = true);
 }
        public TestStateManager(ITestConverter converter, Test test)
        {
            _converter = converter;
            _test = test;
            _history = new VersionHistory();

            _undoCommand = new ActionCommand(undo);
            _redoCommand = new ActionCommand(redo);

            Version(null);
            RecordSnapshot();
        }