### Question:
CustomBaseUrlArchive extends AbstractArchive { @Override public String getArchiveName() { return delegate.getArchiveName(); } CustomBaseUrlArchive(Archive delegate, String baseUrl); @Override String getExtension(); @Override String getArchiveName(); @Override String getPathToExecutable(); @Override String getVersion(); @Override String getClassifier();  }### Answer:
@Test public void testGetArchiveName() { when(delegate.getArchiveName()).thenReturn(ARCHIVE_NAME); assertThat(archive.getArchiveName()).isEqualTo(ARCHIVE_NAME); }
@Test public void testGetUrl() { when(delegate.getArchiveName()).thenReturn(ARCHIVE_NAME); assertThat(archive.getUrl()).isEqualTo(BASE_URL+'/'+ARCHIVE_NAME); verify(delegate, never()).getUrl(); }