//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void fetchStoreIdDelegatesToStoreCopyClient() throws org.neo4j.causalclustering.catchup.storecopy.StoreIdDownloadFailedException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void FetchStoreIdDelegatesToStoreCopyClient() { // given AdvertisedSocketAddress fromAddress = new AdvertisedSocketAddress("neo4.com", 935); // and StoreId expectedStoreId = new StoreId(6, 2, 9, 3); when(_storeCopyClient.fetchStoreId(fromAddress)).thenReturn(expectedStoreId); // when StoreId storeId = Subject.fetchStoreId(fromAddress); // then assertEquals(expectedStoreId, storeId); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public org.neo4j.causalclustering.identity.StoreId fetchStoreId(org.neo4j.helpers.AdvertisedSocketAddress fromAddress) throws org.neo4j.causalclustering.catchup.storecopy.StoreIdDownloadFailedException public virtual StoreId FetchStoreId(AdvertisedSocketAddress fromAddress) { return(_storeCopyClient.fetchStoreId(fromAddress)); }