@Test void testDeleteBlobStore() { FileMeta fileMeta = getMockFileMeta("id"); when(fileMeta.getUrl()).thenReturn("/api/files/v1/id?alt=media"); fileMetaRepositoryDecorator.delete(fileMeta); verify(delegateRepository).delete(fileMeta); verify(blobStore).delete("id"); }
@Override public void delete(FileMeta fileMeta) { deleteFile(fileMeta); super.delete(fileMeta); }
FileMetaRepositoryDecorator extends AbstractRepositoryDecorator<FileMeta> { @Override public void delete(FileMeta fileMeta) { deleteFile(fileMeta); super.delete(fileMeta); } }
FileMetaRepositoryDecorator extends AbstractRepositoryDecorator<FileMeta> { @Override public void delete(FileMeta fileMeta) { deleteFile(fileMeta); super.delete(fileMeta); } FileMetaRepositoryDecorator(
      Repository<FileMeta> delegateRepository, FileStore fileStore, BlobStore blobStore); }
FileMetaRepositoryDecorator extends AbstractRepositoryDecorator<FileMeta> { @Override public void delete(FileMeta fileMeta) { deleteFile(fileMeta); super.delete(fileMeta); } FileMetaRepositoryDecorator(
      Repository<FileMeta> delegateRepository, FileStore fileStore, BlobStore blobStore); @Override void delete(FileMeta fileMeta); @Override void deleteById(Object id); @Override void deleteAll(); @Override void delete(Stream<FileMeta> fileMetaStream); @Override void deleteAll(Stream<Object> ids); }
FileMetaRepositoryDecorator extends AbstractRepositoryDecorator<FileMeta> { @Override public void delete(FileMeta fileMeta) { deleteFile(fileMeta); super.delete(fileMeta); } FileMetaRepositoryDecorator(
      Repository<FileMeta> delegateRepository, FileStore fileStore, BlobStore blobStore); @Override void delete(FileMeta fileMeta); @Override void deleteById(Object id); @Override void deleteAll(); @Override void delete(Stream<FileMeta> fileMetaStream); @Override void deleteAll(Stream<Object> ids);  }