TopicControl topicControl = createManagementControl();
Assert.assertEquals(3, topicControl.getMessageCount());
Assert.assertEquals(2, topicControl.countMessagesForSubscription(clientID, subscriptionName, key + " =" +
matchingValue));
Assert.assertEquals(1, topicControl.countMessagesForSubscription(clientID, subscriptionName, key + " =" +
unmatchingValue));
connection.close();