.createMock(EdmStructuralType.class);
EdmProperty edmTyped = EasyMock.createMock(EdmProperty.class);
EdmType edmType = EasyMock.createMock(EdmType.class);
EdmProperty edmTyped01 = EasyMock.createMock(EdmProperty.class);
EdmType edmType01 = EasyMock.createMock(EdmType.class);
EdmMapping edmMapping = EasyMock.createMock(EdmMapping.class);
EdmMapping edmMapping01 = EasyMock.createMock(EdmMapping.class);
try {
EasyMock.expect(edmType.getKind())
.andStubReturn(EdmTypeKind.SIMPLE);
EasyMock.expect(edmType.getName()).andReturn("identifier");
EasyMock.replay(edmType);
EasyMock.expect(edmMapping.getInternalName()).andStubReturn("id");
EasyMock.replay(edmMapping);
EasyMock.expect(edmTyped.getType()).andStubThrow(
new EdmException(null));
EasyMock.expect(edmTyped.getMapping()).andStubReturn(edmMapping);
EasyMock.expect(edmTyped.getName()).andReturn("identifier").anyTimes();
EasyMock.replay(edmTyped);
EasyMock.expect(structuralType.getProperty("identifier"))
.andStubReturn(edmTyped);
EasyMock.expect(edmType01.getKind()).andStubReturn(
EdmTypeKind.SIMPLE);
EasyMock.expect(edmType01.getName()).andStubReturn("value");
EasyMock.replay(edmType01);
EasyMock.expect(edmMapping01.getInternalName()).andStubReturn(
"value");
EasyMock.replay(edmMapping01);
EasyMock.expect(edmTyped01.getName()).andReturn("value").anyTimes();
EasyMock.expect(edmTyped01.getType()).andStubReturn(edmType01);
EasyMock.expect(edmTyped01.getMapping())