@Test public void test_CheckIfExists_True() { objectApi.put(mediaFile.getId(), newByteArrayPayload(mediaFile.getContent())); assertTrue(mediaStorageClient.checkIfExists(mediaFile.getId())); }
@Override public Boolean checkIfExists (String id) { return null != objectApi.getWithoutBody(id); }
SwiftMediaStorageClientImpl implements MediaStorageClient { @Override public Boolean checkIfExists (String id) { return null != objectApi.getWithoutBody(id); } }
SwiftMediaStorageClientImpl implements MediaStorageClient { @Override public Boolean checkIfExists (String id) { return null != objectApi.getWithoutBody(id); } SwiftMediaStorageClientImpl(SwiftConfiguration config); }
SwiftMediaStorageClientImpl implements MediaStorageClient { @Override public Boolean checkIfExists (String id) { return null != objectApi.getWithoutBody(id); } SwiftMediaStorageClientImpl(SwiftConfiguration config); @Override Boolean checkIfExists(String id); @Override MediaFile retrieve(String id, Boolean withContent); @Override void createOrModify(MediaFile mediaFile); @Override void delete(String id); }
SwiftMediaStorageClientImpl implements MediaStorageClient { @Override public Boolean checkIfExists (String id) { return null != objectApi.getWithoutBody(id); } SwiftMediaStorageClientImpl(SwiftConfiguration config); @Override Boolean checkIfExists(String id); @Override MediaFile retrieve(String id, Boolean withContent); @Override void createOrModify(MediaFile mediaFile); @Override void delete(String id);  }