_perms.grant(Permission.CREATEEXCHANGE, createArgsCreateExchange);
Object[] authArgsPublish = new Object[]{_exchange, _routingKey};
Object[] authArgsConsume = new Object[]{_queue};
Object[] authArgsCreateQueue = new Object[]{_autoDelete, _queueName};
QueueBindBodyImpl bind = new QueueBindBodyImpl(_ticket, _queueName, _exchangeName, _routingKey, _nowait, _arguments);
Object[] authArgsBind = new Object[]{bind, _exchange, _queue, _routingKey};
assertEquals("Exchange creation was not denied", AuthzResult.DENIED, _perms.authorise(Permission.CREATEEXCHANGE, authArgsCreateExchange));
assertEquals("Publish was not denied", AuthzResult.DENIED, _perms.authorise(Permission.PUBLISH, authArgsPublish));
assertEquals("Consume creation was not denied", AuthzResult.DENIED, _perms.authorise(Permission.CONSUME, authArgsConsume));