@Test
public void testInvalidLaneDiagram() {

  TextInstructions textInstructions = new TextInstructions("en", "v5");
  thrown.expect(RuntimeException.class);
  thrown.expectMessage(startsWith("No lanes object"));
  assertEquals("", textInstructions.laneConfig(new LegStep(Collections.singletonList(
    new StepIntersection(new IntersectionLanes[] {})))));
}