207 |
id2 = bos.getBlock().getId(); |
id2 = bos.getBlock().getId(); |
208 |
|
|
209 |
if(!id.equals(id1)) |
if(!id.equals(id1)) |
210 |
throw new Error("bos.getBlockId() does not match"); |
throw new Error("bos.getBlockId() does not match: "+id1); |
211 |
|
|
212 |
if(!id.equals(id2)) |
if(!id.equals(id2)) |
213 |
throw new Error("bos.getBlock().getId() does not match"); |
throw new Error("bos.getBlock().getId() does not match: "+id2); |
214 |
} |
} |
215 |
|
|
216 |
/** Test that trying to get a nonexistent block |
/** Test that trying to get a nonexistent block |