@Test
public void testNewIdWith40Characters() {

  RandomIdNoLuhnProvider provider = new RandomIdNoLuhnProvider(40);
  assertEquals(56, provider.newId().length());
  assertThat(provider.newId(), RegexMatchers.matchesPattern("[A-Za-z0-9_\\-]{56}"));
}