long split = stopWatch.start();
final byte[] array = serializer.serialize( pojo );
stopWatch.stop( split );
long split2 = stopWatch2.start();
DummyPojo check = (DummyPojo) serializer.deserialize( array, pojo.getClass() );
stopWatch2.stop( split2 );
assertNotNull( "object has not been serialized", check );
assertEquals( pojo.name, check.name );
}
logger.info( "end serialize " + serializer.getClass().toString() + "\r\n" + stopWatch.toString() );
logger.info( "end deserialize " + serializer.getClass().toString() + "\r\n" + stopWatch2.toString() );