@Test
public void testNoLedger() throws Exception {
ResultStruct arc = new ResultStruct();
BookieClient bc = new BookieClient("127.0.0.1", port, 50000);
synchronized(arc) {
bc.readEntry(2, 13, recb, arc);
arc.wait(1000);
assertEquals(BookieProtocol.ENOLEDGER, arc.rc);
}
}
}