@Override
  public SnappyCompressionOutputStream createOutputStream( OutputStream out ) throws IOException {
    return new SnappyCompressionOutputStream( out, this );
  }
@Test
  public void testCreateOutputStream() throws IOException {
    SnappyCompressionProvider provider =
      (SnappyCompressionProvider) factory.getCompressionProviderByName( PROVIDER_NAME );
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    SnappyCompressionOutputStream outStream = new SnappyCompressionOutputStream( out, provider );
    assertNotNull( outStream );
    SnappyCompressionOutputStream ncis = provider.createOutputStream( out );
    assertNotNull( ncis );
  }