};
@Test
public void testControlledLinks() throws IOException {
TrafficLight tl = repo.getByID("0");
ControlledLinks links = tl.getReadControlledLinksQuery().get();
assertEquals(linksLaneIDs.length, links.getLinks().length);
for (int i=0; i<linksLaneIDs.length; i++) {
ControlledLink[] linksForSignal = links.getLinks()[i];
assertEquals(1, linksForSignal.length);
ControlledLink link = linksForSignal[0];
assertEquals(linksLaneIDs[i][0], link.getIncomingLane().getID());
assertEquals(linksLaneIDs[i][1], link.getAcrossLane().getID());
assertEquals(linksLaneIDs[i][2], link.getOutgoingLane().getID());