@Test public void testSerialize() throws IOException { ObjectOutput objectOutput = fstSerialization.serialize(null, mock(OutputStream.class)); assertThat(objectOutput, Matchers.<ObjectOutput>instanceOf(FstObjectOutput.class)); }
@Override public ObjectOutput serialize(URL url, OutputStream out) throws IOException { return new FstObjectOutput(out); }
FstSerialization implements Serialization { @Override public ObjectOutput serialize(URL url, OutputStream out) throws IOException { return new FstObjectOutput(out); } }
FstSerialization implements Serialization { @Override public ObjectOutput serialize(URL url, OutputStream out) throws IOException { return new FstObjectOutput(out); }  }
FstSerialization implements Serialization { @Override public ObjectOutput serialize(URL url, OutputStream out) throws IOException { return new FstObjectOutput(out); }  @Override byte getContentTypeId(); @Override String getContentType(); @Override ObjectOutput serialize(URL url, OutputStream out); @Override ObjectInput deserialize(URL url, InputStream is); }
FstSerialization implements Serialization { @Override public ObjectOutput serialize(URL url, OutputStream out) throws IOException { return new FstObjectOutput(out); }  @Override byte getContentTypeId(); @Override String getContentType(); @Override ObjectOutput serialize(URL url, OutputStream out); @Override ObjectInput deserialize(URL url, InputStream is);  }