@Override
    public RecoverableFsDataOutputStream.Committer recoverForCommit(CommitRecoverable resumable) {
        LOGGER.trace("Recovering output stream for commit: {}", resumable);
        Preconditions.checkNotNull(resumable);

        GSCommitRecoverable recoverable = (GSCommitRecoverable) resumable;
        return new GSRecoverableWriterCommitter(storage, options, recoverable);
    }
@Test
    public void testRecoverForCommit() {
        GSRecoverableWriterCommitter committer =
                (GSRecoverableWriterCommitter) writer.recoverForCommit(commitRecoverable);
        assertEquals(options, committer.options);
        assertEquals(commitRecoverable, committer.recoverable);
    }