@Test
public void road_name_too_long_gets_truncated() throws Exception {

  PodNameFactory factory = new PodNameFactory();
  LanderConfiguration configuration = new LanderConfiguration("ten-------twenty----thirty----forty-----fifty-----",
      "topicName", singletonMap(0, null), "s3KeyPrefix", false, "ninechars", false);
  String name = factory.newName(configuration);
  assertThat(name.length(), is(63));
  assertThat(namePattern.matcher(name).matches(), is(true));
}