@Test
public void testMapResourceToField_nullValue() {

	String resultProperty = "result";
	Mockito.when(valueMap.get(propertyName)).thenReturn(resultProperty);
	
	Object result = processor.mapResourceToField(resource, null, null, propertyName);
	Assert.assertNull(result);
	
	Mockito.when(valueMap.get(propertyName)).thenReturn(null);
	result = processor.mapResourceToField(resource, valueMap, null, propertyName);
	Assert.assertNull(result);
}