public void It_cant_get_values_from_write_only_properties() { WriteOnlyInts target = new WriteOnlyInts(); object actual; Assert.IsFalse(_providers.TryGetValue(target, "IntProperty", out actual)); Assert.IsNull(actual); }
public void It_cant_get_values_from_write_only_properties() { WriteOnlyInts target = new WriteOnlyInts(); Assert.IsNull(ValueGetter.GetValue(target, "IntProperty")); }
public void It_cant_get_values_from_write_only_methods() { WriteOnlyInts target = new WriteOnlyInts(); Assert.IsNull(ValueGetter.GetValue(target, "IntMethod")); }
public void It_cant_get_values_from_write_only_properties() { WriteOnlyInts target = new WriteOnlyInts(); Assert.AreSame(ValueGetter.NoValue, ValueGetter.GetValue(target, "IntProperty", null)); }