@Test public void testRestoreWhenAssetExists() { when(rawContentFacet.assetExists(BLOB_NAME)).thenReturn(EXISTS); underTest.restore(properties, blob, BLOB_STORE_NAME, !DRY_RUN); verify(rawContentFacet).assetExists(BLOB_NAME); verifyNoMoreInteractions(rawContentFacet); }
@Override protected boolean assetExists(final RawRestoreBlobData data) { return getRawContentFacet(data).assetExists(data.getBlobData().getBlobName()); }
RawRestoreBlobStrategy extends BaseRestoreBlobStrategy<RawRestoreBlobData> { @Override protected boolean assetExists(final RawRestoreBlobData data) { return getRawContentFacet(data).assetExists(data.getBlobData().getBlobName()); } }
RawRestoreBlobStrategy extends BaseRestoreBlobStrategy<RawRestoreBlobData> { @Override protected boolean assetExists(final RawRestoreBlobData data) { return getRawContentFacet(data).assetExists(data.getBlobData().getBlobName()); } @Inject  RawRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix); }
RawRestoreBlobStrategy extends BaseRestoreBlobStrategy<RawRestoreBlobData> { @Override protected boolean assetExists(final RawRestoreBlobData data) { return getRawContentFacet(data).assetExists(data.getBlobData().getBlobName()); } @Inject  RawRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix);  }
RawRestoreBlobStrategy extends BaseRestoreBlobStrategy<RawRestoreBlobData> { @Override protected boolean assetExists(final RawRestoreBlobData data) { return getRawContentFacet(data).assetExists(data.getBlobData().getBlobName()); } @Inject  RawRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix);   }