public int Execute() { if (_expectations.Count == 0) { throw new UnExpectedCallException(Name); } _currentExpectation = (CommandExpectation)_expectations.Dequeue(); return(_currentExpectation.VerifyExecution(_inputs)); }
public int Execute() { if (_expectations.Count == 0) { throw new UnExpectedCallException(Name); } _currentExpectation = (CommandExpectation) _expectations.Dequeue(); return _currentExpectation.VerifyExecution(_inputs); }