@SuppressWarnings("deprecation") @Test public void testDate() throws Exception { Block block = params.getDefaultSerializer().makeBlock(blockBytes); assertEquals("4 Nov 2010 16:06:04 GMT", block.getTime().toGMTString()); }