public static void getEdmEntityContainerImpl() throws Exception {
edmProvider = mock(EdmProvider.class);
EdmImplProv edmImplProv = new EdmImplProv(edmProvider);
ComplexType fooComplexType = new ComplexType().setName("fooComplexType");
List<Property> keyPropertysFoo = new ArrayList<Property>();
keyPropertysFoo.add(new SimpleProperty().setName("Name").setType(EdmSimpleTypeKind.String));
keyPropertysFoo.add(new SimpleProperty().setName("Address").setType(EdmSimpleTypeKind.String));
fooComplexType.setProperties(keyPropertysFoo);
edmComplexType = new EdmComplexTypeImplProv(edmImplProv, fooComplexType, "namespace");
FullQualifiedName barBaseTypeName = new FullQualifiedName("namespace", "barBase");
ComplexType barBase = new ComplexType().setName("barBase");
when(edmProvider.getComplexType(barBaseTypeName)).thenReturn(barBase);
List<Property> propertysBarBase = new ArrayList<Property>();
propertysBarBase.add(new SimpleProperty().setName("Name").setType(EdmSimpleTypeKind.String));
propertysBarBase.add(new SimpleProperty().setName("Address").setType(EdmSimpleTypeKind.String));
barBase.setProperties(propertysBarBase);
ComplexType barComplexType = new ComplexType().setName("barComplexType").setBaseType(barBaseTypeName);
edmComplexTypeWithBaseType = new EdmComplexTypeImplProv(edmImplProv, barComplexType, "namespace");
}