@Test
public void syndicationWithComplexProperty() throws Exception {
// prepare Mock
EdmEntitySet employeesSet = MockFacade.getMockEdm().getDefaultEntityContainer().getEntitySet("Employees");
EdmCustomizableFeedMappings employeeCustomPropertyMapping = mock(EdmCustomizableFeedMappings.class);
when(employeeCustomPropertyMapping.isFcKeepInContent()).thenReturn(Boolean.TRUE);
when(employeeCustomPropertyMapping.getFcNsPrefix()).thenReturn("customPre");
when(employeeCustomPropertyMapping.getFcNsUri()).thenReturn("http://customUri.com");
EdmTyped employeeLocationProperty = employeesSet.getEntityType().getProperty("Location");
when(((EdmProperty) employeeLocationProperty).getCustomizableFeedMappings()).thenReturn(
employeeCustomPropertyMapping);
Map<String, String> prefixMap = new HashMap<String, String>();