public void SetAddOnMethod() { _innerMock.Setup(mock => mock.SetAddOnMethod(_decoratedMethodBuilder)).Verifiable(); _decorator.SetAddOnMethod(_methodBuilderDecorator); _innerMock.Verify(); }
public void SetAddOnMethod() { _innerMock.Expect(mock => mock.SetAddOnMethod(_decoratedMethodBuilder)); _decorator.SetAddOnMethod(_methodBuilderDecorator); _innerMock.VerifyAllExpectations(); }