private void ExecuteWithTypeLookupInternal(FakeObjectProperty property, object value, params string[] expected) { var parameters = new FakeSetObjectPropertyParameters(e => ObjectPropertyParser.GetPropertyInfoViaTypeLookup(e)); parameters.AddValue(property, value, true); AssertEx.AreEqualLists(parameters.CustomParameters.Select(p => p.ToString()).ToList(), expected.ToList(), "Parameter lists were not equal"); }
private void ExecuteWithPropertyParameterInternal(FakeObjectProperty property, object value) { var parameters = new FakeSetObjectPropertyParameters(BaseSetObjectPropertyParameters <FakeObjectProperty> .GetPropertyInfoViaPropertyParameter <FakeSettings>); parameters.AddValue(property, value, true); }
private void ExecuteWithTypeLookupInternal(FakeObjectProperty property, object value) { var parameters = new FakeSetObjectPropertyParameters(e => ObjectPropertyParser.GetPropertyInfoViaTypeLookup(e)); parameters.AddValue(property, value, true); }