@Test
public void simplePropertyIgnoringValidation() throws Exception {
EdmProperty property = (EdmProperty) MockFacade.getMockEdm().getEntityType("RefScenario", "Room")
.getProperty("Name");
EdmFacets facets = mock(EdmFacets.class);
when(facets.getMaxLength()).thenReturn(10);
when(property.getFacets()).thenReturn(facets);
final EntityProviderReadProperties readProperties = mock(EntityProviderReadProperties.class);
final Map<String, Object> resultMap = new JsonPropertyConsumer()
.readPropertyStandalone(prepareReader("{\"Name\":\"TooLongName\"}"), property, readProperties);
assertTrue(resultMap.containsKey("Name"));