### Question:
BrokerDestinationView { BrokerDestinationView(Destination destination) { this.destination = destination; } BrokerDestinationView(Destination destination); String getName(); long getEnqueueCount(); long getDequeueCount(); long getDispatchCount(); long getInFlightCount(); long getExpiredCount(); int getConsumerCount(); int getProducerCount(); long getQueueSize(); long getMessagesCached(); int getMemoryPercentUsage(); long getMemoryUsageByteCount(); long getMemoryLimit(); double getAverageEnqueueTime(); long getMaxEnqueueTime(); long getMinEnqueueTime(); double getAverageMessageSize(); long getMaxMessageSize(); long getMinMessageSize(); boolean isDLQ(); long getBlockedSends(); double getAverageBlockedTime(); long getTotalBlockedTime();  }### Answer:
@Test public void testBrokerDestinationView() throws Exception { for (int i = 0; i < messageCount; i++){ Message message = producerSession.createTextMessage("test " + i); producer.send(message); } MessageBrokerView messageBrokerView = MessageBrokerViewRegistry.getInstance().lookup(""); BrokerDestinationView destinationView = messageBrokerView.getQueueDestinationView(getClass().getName()); assertEquals(destinationView.getQueueSize(),messageCount); }