@Test public void blobDataIsCreated() { when(pyPiRestoreBlobDataFactory.create(restoreBlobData)).thenReturn(pyPiRestoreBlobData); assertThat(underTest.createRestoreData(restoreBlobData), is(pyPiRestoreBlobData)); verify(pyPiRestoreBlobDataFactory).create(restoreBlobData); verifyNoMoreInteractions(pyPiRestoreBlobDataFactory, restoreBlobData); }
@Override protected PyPiRestoreBlobData createRestoreData(final RestoreBlobData blobData) { return pyPiRestoreBlobDataFactory.create(blobData); }
OrientPyPiRestoreBlobStrategy extends BaseRestoreBlobStrategy<PyPiRestoreBlobData> { @Override protected PyPiRestoreBlobData createRestoreData(final RestoreBlobData blobData) { return pyPiRestoreBlobDataFactory.create(blobData); } }
OrientPyPiRestoreBlobStrategy extends BaseRestoreBlobStrategy<PyPiRestoreBlobData> { @Override protected PyPiRestoreBlobData createRestoreData(final RestoreBlobData blobData) { return pyPiRestoreBlobDataFactory.create(blobData); } @Inject  OrientPyPiRestoreBlobStrategy(final NodeAccess nodeAccess,
                                       final RepositoryManager repositoryManager,
                                       final BlobStoreManager blobStoreManager,
                                       final DryRunPrefix dryRunPrefix,
                                       final OrientPyPiRepairIndexComponent pyPiRepairIndexComponent,
                                       final PyPiRestoreBlobDataFactory pyPiRestoreBlobDataFactory); }
OrientPyPiRestoreBlobStrategy extends BaseRestoreBlobStrategy<PyPiRestoreBlobData> { @Override protected PyPiRestoreBlobData createRestoreData(final RestoreBlobData blobData) { return pyPiRestoreBlobDataFactory.create(blobData); } @Inject  OrientPyPiRestoreBlobStrategy(final NodeAccess nodeAccess,
                                       final RepositoryManager repositoryManager,
                                       final BlobStoreManager blobStoreManager,
                                       final DryRunPrefix dryRunPrefix,
                                       final OrientPyPiRepairIndexComponent pyPiRepairIndexComponent,
                                       final PyPiRestoreBlobDataFactory pyPiRestoreBlobDataFactory); @Override void after(final boolean updateAssets, final Repository repository); }
OrientPyPiRestoreBlobStrategy extends BaseRestoreBlobStrategy<PyPiRestoreBlobData> { @Override protected PyPiRestoreBlobData createRestoreData(final RestoreBlobData blobData) { return pyPiRestoreBlobDataFactory.create(blobData); } @Inject  OrientPyPiRestoreBlobStrategy(final NodeAccess nodeAccess,
                                       final RepositoryManager repositoryManager,
                                       final BlobStoreManager blobStoreManager,
                                       final DryRunPrefix dryRunPrefix,
                                       final OrientPyPiRepairIndexComponent pyPiRepairIndexComponent,
                                       final PyPiRestoreBlobDataFactory pyPiRestoreBlobDataFactory); @Override void after(final boolean updateAssets, final Repository repository);  }