public void testDeleteMetaStore() throws Throwable {
  MetaStore meta=createMetaStore();
  assertEquals(meta.loadTerm(),0);
  assertEquals(meta.loadVote(),0);
  meta.storeTerm(1);
  meta.storeVote(2);
  assertEquals(meta.loadTerm(),1);
  assertEquals(meta.loadVote(),2);
  meta=createMetaStore();
  assertEquals(meta.loadTerm(),1);
  assertEquals(meta.loadVote(),2);
  storage.deleteMetaStore("test");
  meta=createMetaStore();
  assertEquals(meta.loadTerm(),0);
  assertEquals(meta.loadVote(),0);
}

public void testDeleteMetaStore ( ) throws Throwable { MetaStore meta = createMetaStore ( ) ; assertEquals ( meta . loadTerm ( ) , 0 ) ; assertEquals ( meta . loadVote ( ) , 0 ) ; meta . storeTerm ( 1 ) ; meta . storeVote ( 2 ) ; assertEquals ( meta . loadTerm ( ) , 1 ) ; assertEquals ( meta . loadVote ( ) , 2 ) ; meta = createMetaStore ( ) ; assertEquals ( meta . loadTerm ( ) , 1 ) ; assertEquals ( meta . loadVote ( ) , 2 ) ; storage . deleteMetaStore ( "test" ) ; meta = createMetaStore ( ) ; assertEquals ( meta . loadTerm ( ) , 0 ) ; assertEquals ( meta . loadVote ( ) , 0 ) ; }
tests deleting a metastore .
