@Test
 public void testGetNextFeature() throws Exception {
   Lane n = mock(Lane.class);
   when(n.getID()).thenReturn(new ID("next lane"));
   link.out = n;
   assertEquals(new ID("next lane"), link.getNextFeature().getID());
 }
 @Test
 public void testIsDeadEnd() throws Exception {
   assertTrue(link.isDeadEnd());
   link.in = mock(Lane.class);
   assertTrue(link.isDeadEnd());
   link.out = mock(Lane.class);
   assertFalse(link.isDeadEnd());
 }