SqlitePaxosStateLogMigrationState { public long getCutoff() { return execute(dao -> dao.getCutoff(namespace, useCase)).orElse(PaxosAcceptor.NO_LOG_ENTRY); } private  SqlitePaxosStateLogMigrationState(NamespaceAndUseCase namespaceAndUseCase, Jdbi jdbi); void migrateToValidationState(); void migrateToMigratedState(); boolean hasMigratedFromInitialState(); boolean isInValidationState(); boolean isInMigratedState(); void setCutoff(long value); long getCutoff();  }
@Test public void defaultCutoffIsNoLogEntry() { assertThat(migrationState.getCutoff()).isEqualTo(PaxosAcceptor.NO_LOG_ENTRY); }