### Question:
TemplatedArchive extends AbstractArchive { @Override public String getClassifier() { return this.archiveFormat.getClassifier(); } TemplatedArchive(ArchiveFormat archiveFormat,
                          String version); @Override String getBaseUrl(); @Override String getExtension(); @Override String getArchiveName(); @Override String getPathToExecutable(); @Override String getVersion(); @Override String getClassifier();  }### Answer:
@Test public void testGetClassifier() { when(archiveFormat.getClassifier()).thenReturn(CLASSIFIER); assertThat(archive.getClassifier()).isEqualTo(CLASSIFIER); }