GryoMapper implements Mapper<Kryo> { public static Builder build() { return new Builder(); } private  GryoMapper(final Builder builder); @Override Kryo createMapper(); GryoVersion getVersion(); List<Class> getRegisteredClasses(); List<TypeRegistration<?>> getTypeRegistrations(); static Builder build(); static final byte[] GIO; static final byte[] HEADER; }
@Test public void shouldMakeNewInstance() { final GryoMapper.Builder b = GryoMapper.build(); assertNotSame(b, GryoMapper.build()); }