Example #1
0
        public void SetRaiseMethod()
        {
            _innerMock.Setup(mock => mock.SetRaiseMethod(_decoratedMethodBuilder)).Verifiable();

            _decorator.SetRaiseMethod(_methodBuilderDecorator);

            _innerMock.Verify();
        }
        public void SetRaiseMethod()
        {
            _innerMock.Expect(mock => mock.SetRaiseMethod(_decoratedMethodBuilder));

            _decorator.SetRaiseMethod(_methodBuilderDecorator);

            _innerMock.VerifyAllExpectations();
        }