@Test(expected=UnauthorizedException.class)
public void testAddConsumerNotAuthorized() throws Exception {

    String name = "myTopic";
    ActiveMQDestination dest = new ActiveMQTopic(name);
    Subject subject = new PermsSubject();
    ConnectionContext context = createContext(subject);
    ConsumerInfo info = new ConsumerInfo(null);
    info.setDestination(dest);
    filter.addConsumer(context, info);
}