### Question:
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);  }### Answer:
@Test public void test_CheckIfExists_False() { assertFalse (mediaStorageClient.checkIfExists("ana are mere")); }
@Test public void test_CheckIfExists_True() { objectApi.put(mediaFile.getId(), newByteArrayPayload(mediaFile.getContent())); assertTrue(mediaStorageClient.checkIfExists(mediaFile.getId())); }