### Question:
BackupDelegator extends LifecycleAdapter { public StoreId fetchStoreId( AdvertisedSocketAddress fromAddress ) throws StoreIdDownloadFailedException { return storeCopyClient.fetchStoreId( fromAddress ); } BackupDelegator( RemoteStore remoteStore, CatchUpClient catchUpClient, StoreCopyClient storeCopyClient ); @Override void start(); @Override void stop(); StoreId fetchStoreId( AdvertisedSocketAddress fromAddress );  }### Answer:
@Test public void fetchStoreIdDelegatesToStoreCopyClient() throws StoreIdDownloadFailedException { AdvertisedSocketAddress fromAddress = new AdvertisedSocketAddress( "neo4.com", 935 ); StoreId expectedStoreId = new StoreId( 6, 2, 9, 3 ); when( storeCopyClient.fetchStoreId( fromAddress ) ).thenReturn( expectedStoreId ); StoreId storeId = subject.fetchStoreId( fromAddress ); assertEquals( expectedStoreId, storeId ); }