private static CheckedDatastore newDatastore() {
return new CheckedDatastore(DatastoreServiceFactory.getDatastoreService());
}
public void testRegisterWritesToStorage() throws Exception {
CheckedDatastore datastore = newDatastore();
WaveletDirectory directory = newDirectory(datastore,
MemcacheServiceFactory.getMemcacheService());
if (get(datastore, directory.directory.makeKey(OBJECT_ID)) != null) {
fail();