@Override
    public void removeDestinationInfo(ConnectionContext context, DestinationInfo info) throws Exception {

        DestinationAction action = new DestinationAction(context, info.getDestination(), "remove");
        assertAuthorized(action);

        super.removeDestinationInfo(context, info);
    }
@Test(expected=UnauthorizedException.class)
    public void testRemoveDestinationInfoNotAuthorized() throws Exception {
        String name = "myTopic";
        ActiveMQDestination dest = new ActiveMQTopic(name);
        DestinationInfo info = new DestinationInfo(null, DestinationInfo.REMOVE_OPERATION_TYPE, dest);

        Subject subject = new PermsSubject();
        ConnectionContext context = createContext(subject);

        filter.removeDestinationInfo(context, info);
    }