public override void SetUp()
		{
			_accessor = PropertyAccessorFactory.GetPropertyAccessor("field.lowercase");
			_getter = _accessor.GetGetter(typeof(FieldClass), "LowerFoo");
			_setter = _accessor.GetSetter(typeof(FieldClass), "LowerFoo");
			_instance = new FieldClass();
			_instance.InitLowerFoo(0);
		}
 public override void SetUp()
 {
     _accessor = PropertyAccessorFactory.GetPropertyAccessor("field.lowercase");
     _getter   = _accessor.GetGetter(typeof(FieldClass), "LowerFoo");
     _setter   = _accessor.GetSetter(typeof(FieldClass), "LowerFoo");
     _instance = new FieldClass();
     _instance.InitLowerFoo(0);
 }
Exemplo n.º 3
0
        public override void SetUp()
        {
            _expectedLowerFooGetterCalled = true;

            _accessor = PropertyAccessorFactory.GetPropertyAccessor("nosetter.lowercase");
            _getter   = _accessor.GetGetter(typeof(FieldClass), "LowerFoo");
            _setter   = _accessor.GetSetter(typeof(FieldClass), "LowerFoo");
            _instance = new FieldClass();
            _instance.InitLowerFoo(0);
        }
		public override void SetUp()
		{
			_expectedLowerFooGetterCalled = true;

			_accessor = PropertyAccessorFactory.GetPropertyAccessor("nosetter.lowercase");
			_getter = _accessor.GetGetter(typeof(FieldClass), "LowerFoo");
			_setter = _accessor.GetSetter(typeof(FieldClass), "LowerFoo");
			_instance = new FieldClass();
			_instance.InitLowerFoo(0);
		}