@Test(expected = EntityProviderException.class) public void complexPropertyNullValueNotAllowed() throws Exception { final String locationProperty = "{\"Location\":null}"; JsonReader reader = prepareReader(locationProperty); EdmProperty property = (EdmProperty) MockFacade.getMockEdm().getDefaultEntityContainer().getEntitySet("Employees").getEntityType() .getProperty("Location"); EdmFacets facets = mock(EdmFacets.class); when(facets.isNullable()).thenReturn(false); when(property.getFacets()).thenReturn(facets); new JsonPropertyDeserializer().readPropertyStandalone(reader, property, null); }
public Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty, final DeserializerProperties readProperties) throws EntityProviderException { return readPropertyStandalone(reader, EntityInfoAggregator.create(edmProperty), readProperties); }
JsonPropertyDeserializer { public Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty, final DeserializerProperties readProperties) throws EntityProviderException { return readPropertyStandalone(reader, EntityInfoAggregator.create(edmProperty), readProperties); } }
JsonPropertyDeserializer { public Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty, final DeserializerProperties readProperties) throws EntityProviderException { return readPropertyStandalone(reader, EntityInfoAggregator.create(edmProperty), readProperties); }  }
JsonPropertyDeserializer { public Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty, final DeserializerProperties readProperties) throws EntityProviderException { return readPropertyStandalone(reader, EntityInfoAggregator.create(edmProperty), readProperties); }  Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty,
      final DeserializerProperties readProperties); Map<String, Object> readPropertyStandalone(final JsonReader reader, final EntityPropertyInfo propertyInfo,
      final DeserializerProperties readProperties); List<?> readCollection(JsonReader reader, final EntityPropertyInfo propertyInfo,
        final DeserializerProperties readProperties); }
JsonPropertyDeserializer { public Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty, final DeserializerProperties readProperties) throws EntityProviderException { return readPropertyStandalone(reader, EntityInfoAggregator.create(edmProperty), readProperties); }  Map<String, Object> readPropertyStandalone(JsonReader reader, final EdmProperty edmProperty,
      final DeserializerProperties readProperties); Map<String, Object> readPropertyStandalone(final JsonReader reader, final EntityPropertyInfo propertyInfo,
      final DeserializerProperties readProperties); List<?> readCollection(JsonReader reader, final EntityPropertyInfo propertyInfo,
        final DeserializerProperties readProperties);  }