final Holder<T> holder1 = new Holder<T>( sharedObject );
final Holder<T> holder2 = new Holder<T>( sharedObject );
@SuppressWarnings( "unchecked" )
final HolderList<T> holderHolder = new HolderList<T>( new ArrayList<Holder<T>>( Arrays.asList( holder1, holder2 ) ) );
final MemcachedBackupSession session = _manager.createEmptySession();
session.setValid( true );
session.setAttribute( name, holderHolder );
final Map<String, Object> deserialized =
_transcoder.deserializeAttributes( _transcoder.serializeAttributes( session, session.getAttributesInternal() ) );
assertDeepEquals( deserialized, session.getAttributesInternal() );
@SuppressWarnings( "unchecked" )
final HolderList<T> hhd = (HolderList<T>) deserialized.get( name );
Assert.assertTrue( hhd.holders.get( 0 ).item == hhd.holders.get( 1 ).item );