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

            _decorator.SetRemoveOnMethod(_methodBuilderDecorator);

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

            _decorator.SetRemoveOnMethod(_methodBuilderDecorator);

            _innerMock.VerifyAllExpectations();
        }