public class EdmxProviderTest {
@Test
public void getElementsWithAlias() throws Exception {
Edm edm = createEdm();
assertNotNull(edm);
assertNotNull(edm.getEntityType("Self", "Employee"));
assertNotNull(edm.getEntityType("Self", "Room"));
assertNotNull(edm.getEntityType("Self", "Manager"));
assertNotNull(edm.getEntityType("Self", "Team"));
assertNotNull(edm.getEntityType("Self", "Building"));
assertNotNull(edm.getAssociation("Self", "BuildingRooms"));
assertNotNull(edm.getAssociation("Self", "ManagerEmployees"));
assertNotNull(edm.getAssociation("Self", "TeamEmployees"));
assertNotNull(edm.getAssociation("Self", "RoomEmployees"));
assertNotNull(edm.getComplexType("Self", "c_Location"));
assertNotNull(edm.getComplexType("Self", "c_City"));
}