### Question:
LocalFileCheckpointHandler implements CheckpointHandler { static LocalFileCheckpointHandler fromConfiguration() { checkState(Configuration.isInitialized(), "Configuration object not initialized"); return new LocalFileCheckpointHandler( Configuration.getString(CONNECTOR_CHECKPOINT_DIRECTORY, DEFAULT_CHECKPOINT_DIRECTORY).get(), new FileHelper()); } @VisibleForTesting  LocalFileCheckpointHandler(String directory, FileHelper fileHelper); @Override byte[] readCheckpoint(String checkpointName); @Override void saveCheckpoint(String checkpointName, byte[] checkpoint); static final String CONNECTOR_CHECKPOINT_DIRECTORY; }### Answer:
@Test public void testFromConfigurationNotInitialized() { thrown.expect(IllegalStateException.class); LocalFileCheckpointHandler.fromConfiguration(); }