### Question:
ServerBlob extends UnicastExportable implements RemoteBlob { @Override public boolean exists() throws IOException { return blob.exists(); } ServerBlob(Blob blob, Exporter exporter); @Override URI getId(); @Override URI getCanonicalId(); @Override boolean exists(); @Override long getSize(); @Override void delete(); @Override RemoteBlob moveTo(URI other, Map<String, String> hints); @Override RemoteInputStream openInputStream(); @Override RemoteOutputStream openOutputStream(long estimatedSize, boolean overwrite);  }### Answer:
@Test public void testExists() throws IOException { reset(blob); expect(blob.exists()).andReturn(true); replay(blob); assertTrue(sb.exists()); verify(blob); }