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

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

            Version(null);
            RecordSnapshot();
        }