@Test
public void testInit() {

  Checkpoint cp = new Checkpoint();
  assertEquals(cp.getInit(), true);
  cp.setWindowScn(1234L);
  cp.setWindowOffset(123);
  cp.setConsumptionMode(DbusClientMode.ONLINE_CONSUMPTION);
  assertEquals(cp.getInit(), false);
  cp.init();
  assertEquals(cp.getInit(), true);
}