private void testSerialization( final StoreInfo info )
throws SerializationException
{
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final SerializerOutputStream out = new SerializerOutputStream( baos );
info.serialize( out );
final StoreInfo info2 = new StoreInfo( "test2" );
final ByteArrayInputStream bais = new ByteArrayInputStream( baos.toByteArray() );
final SerializerInputStream in = new SerializerInputStream( bais );