@Test public void cannotOperateOnEditAfterPublish() throws Exception {

  DiskLruCache.Editor editor = cache.edit("k1");
  editor.set(0, "A");
  editor.set(1, "B");
  editor.commit();
  assertInoperable(editor);
}