### Question:
ServerBlob extends UnicastExportable implements RemoteBlob { @Override public URI getId() { return blob.getId(); } 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 testGetId() { URI uri = URI.create("urn:test:blob:id"); reset(blob); expect(blob.getId()).andReturn(uri); replay(blob); assertEquals(uri, sb.getId()); verify(blob); }