}
public void testParseAlias() {
Mapping mapping = MappingHelper.readFromTestFile("parser/alias.ttl");
MappingHelper.connectToDummyDBs(mapping);
assertEquals(1, mapping.compiledPropertyBridges().size());
TripleRelation bridge = (TripleRelation) mapping.compiledPropertyBridges().iterator().next();
assertTrue(bridge.baseRelation().condition().isTrue());
AliasMap aliases = bridge.baseRelation().aliases();
AliasMap expected = new AliasMap(Collections.singleton(SQL.parseAlias("People AS Bosses")));
assertEquals(expected, aliases);