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

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