P2RestoreBlobStrategy extends BaseRestoreBlobStrategy<P2RestoreBlobData> { @Nonnull @Override protected List<HashAlgorithm> getHashAlgorithms() { return Collections.singletonList(HashAlgorithm.SHA1); } @Inject  P2RestoreBlobStrategy(final NodeAccess nodeAccess,
                               final RepositoryManager repositoryManager,
                               final BlobStoreManager blobStoreManager,
                               final DryRunPrefix dryRunPrefix);   }
@Test public void testCorrectHashAlgorithmsAreSupported() { assertThat(restoreBlobStrategy.getHashAlgorithms(), containsInAnyOrder(HashAlgorithm.SHA1)); }