P2RestoreBlobStrategy extends BaseRestoreBlobStrategy<P2RestoreBlobData> { @Override protected String getAssetPath( @Nonnull final P2RestoreBlobData p2RestoreBlobData) { return p2RestoreBlobData.getBlobData().getBlobName(); } @Inject  P2RestoreBlobStrategy(final NodeAccess nodeAccess,
                               final RepositoryManager repositoryManager,
                               final BlobStoreManager blobStoreManager,
                               final DryRunPrefix dryRunPrefix);   }
@Test public void testAppropriatePathIsReturned() { assertThat(restoreBlobStrategy.getAssetPath(p2RestoreBlobData), is(PACKAGE_PATH)); }