### Question:
UuidDicomUidGenerator implements DicomUidGenerator { @Override public int getMaxRootLength() { return MAX_ROOT_LENGTH; }  @Override int getMaxRootLength(); @Override String getNewDicomUid(String root);  }### Answer:
@Test public void shouldReturnMaximumAllowedRootLength() throws Exception { assertThat(dicomUidGenerator.getMaxRootLength(), is(24)); }