EdmImplProv edmImplProv = new EdmImplProv(edmProvider);
when(edmProvider.getEntityContainerInfo("Container")).thenReturn(new EntityContainerInfo().setName("Container"));
EntityContainerInfo entityContainer = new EntityContainerInfo().setName("Container1").setExtendz("Container");
EntitySet entitySetFooFromParent = new EntitySet().setName("fooFromParent");
when(edmProvider.getEntitySet("Container", "fooFromParent")).thenReturn(entitySetFooFromParent);
EntitySet entitySetFoo = new EntitySet().setName("foo");
when(edmProvider.getEntitySet("Container1", "foo")).thenReturn(entitySetFoo);
EntitySet entitySetBar = new EntitySet().setName("foo");
when(edmProvider.getEntitySet("Container1", "foo")).thenReturn(entitySetBar);
AssociationSet associationSet = new AssociationSet().setName("4711");
FullQualifiedName assocFQName = new FullQualifiedName("AssocNs", "AssocName");
when(edmProvider.getAssociationSet("Container1", assocFQName, "foo", "fromRole")).thenReturn(associationSet);