### Question:
BeanPropertyAccess implements ValueAccess { @Override public <T, V> void setPropertyValue(final T data, final EdmProperty property, final V value) throws ODataException { final String methodName = getSetterMethodName(getGetterMethodName(property)); if (methodName != null) { setValue(data, methodName, value); } }  @Override Object getPropertyValue(final T data, final EdmProperty property); @Override void setPropertyValue(final T data, final EdmProperty property, final V value); @Override Class<?> getPropertyType(final T data, final EdmProperty property); @Override Object getMappingValue(final T data, final EdmMapping mapping); @Override void setMappingValue(final T data, final EdmMapping mapping, final V value);  }### Answer:
@Test public void setPropertyValue() throws ODataException { SimpleEntity data = new SimpleEntity(); data.name = "A Name"; EdmProperty property = mockProperty("Name"); Object value = "Another Name"; ava.setPropertyValue(data, property, value); Assert.assertEquals("Another Name", data.name); }
@Test public void setPropertyValueNull() throws ODataException { SimpleEntity data = new SimpleEntity(); data.name = "A Name"; EdmProperty property = mockProperty("Name"); ava.setPropertyValue(data, property, null); Assert.assertNull(null, data.name); }