@Override
    public RecoverableFsDataOutputStream recover(ResumeRecoverable resumable) {
        LOGGER.trace("Recovering output stream: {}", resumable);
        Preconditions.checkNotNull(resumable);

        GSResumeRecoverable recoverable = (GSResumeRecoverable) resumable;
        return new GSRecoverableFsDataOutputStream(storage, options, recoverable);
    }
@Test
    public void testRecover() throws IOException {
        GSRecoverableFsDataOutputStream stream =
                (GSRecoverableFsDataOutputStream) writer.recover(resumeRecoverable);
        assertEquals(position, stream.getPos());
    }