public void SetUp()
        {
            _interceptedMethod = NormalizingMemberInfoFromExpressionUtility.GetMethod((object o) => o.Equals(null));
            _propertyName      = "abc";

            _interceptor = new WrappingAccessorInterceptor(_interceptedMethod, _propertyName);

            _proxyType = MutableTypeObjectMother.Create();
        }
Example #2
0
        public void SetUp()
        {
            _interceptedMethod = NormalizingMemberInfoFromExpressionUtility.GetMethod((object o) => o.Equals(null));
            _propertyName      = "abc";
            _propertyType      = typeof(int);

            _interceptorPartialMock = MockRepository.GeneratePartialMock <ImplementingAccessorInterceptorBase> (
                _interceptedMethod, _propertyName, _propertyType);

            _proxyType = MutableTypeObjectMother.Create(typeof(DomainObject));
        }