}
@Test
public void testCompleteProgramDefinition() throws IOException {
TrafficLight tl = repo.getByID("0");
Program program = tl.queryReadCompleteDefinition().get();
assertEquals(1, program.getLogics().length);
Logic logic = program.getLogics()[0];
assertEquals("0", logic.getSubID());
assertEquals(0, logic.getCurrentPhaseIndex());
Phase[] phases = logic.getPhases();