assertEquals(largeMessageBytes.length + tcpTransportHeaderSize,flushByteCounts[2]);
assertEquals(0,flushByteCounts[3]);
// verify the histogram
Histogram histogram = ((TcpSender)sender).getBatchingHistogram();
assertEquals(calcMean(1,2,1),histogram.mean(),0.0000001);
assertEquals(3,histogram.count());
}
finally
{
if (factory != null)