assertEquals(dataReceived, vhost.getTotalDataDelivered());
}
private void checkBrokerStatistics(long messagesSent, long messagesReceived, long dataSent, long dataReceived)
{
ServerInformation broker = _jmxUtils.getServerInformation();
assertEquals(messagesSent, broker.getTotalMessagesReceived());
assertEquals(messagesReceived, broker.getTotalMessagesDelivered());
assertEquals(dataSent, broker.getTotalDataReceived());
assertEquals(dataReceived, broker.getTotalDataDelivered());
}