public override void establish_context() { property = ReflectionHelper.GetAccessor((Expression <Func <PropertyEntity, string> >)(x => x.GetterAndSetter)); target = new PropertyEntity(); sut = new Property <PropertyEntity, string>(property, "expected"); }
public override void establish_context() { property = ReflectionHelper.GetAccessor(GetPropertyExpression()); target = new PropertyEntity(); sut = new Property <PropertyEntity, string>(property, "expected"); }