@Override
    public void removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout) throws Exception {

        DestinationAction action = new DestinationAction(context, destination, "remove");
        assertAuthorized(action);

        super.removeDestination(context, destination, timeout);
    }
@Test(expected=UnauthorizedException.class)
    public void testRemoveDestinationNotAuthorized() throws Exception {
        String name = "myTopic";
        ActiveMQDestination dest = new ActiveMQTopic(name);

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

        filter.removeDestination(context, dest, 1000);
    }