### Question:
HibernateCollectionsSerializerFactory implements SerializerFactory { @Override public Serializer newSerializer( final Class<?> type ) { if( HIBERNATE_ABSTRACT_COLLECTION_CLASS == null ) { return null; } else if ( HIBERNATE_ABSTRACT_COLLECTION_CLASS.isAssignableFrom( type ) ) { return new FieldSerializer( _kryo, type ); } return null; } HibernateCollectionsSerializerFactory( final Kryo kryo ); @Override Serializer newSerializer( final Class<?> type );  }### Answer:
@Test public void test() { HibernateCollectionsSerializerFactory factory = new HibernateCollectionsSerializerFactory(new Kryo()); Serializer serializer = factory.newSerializer(PERSISTENT_LIST_CLASS); assertNotNull(serializer); }