We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0812f0e commit 2ea7e53Copy full SHA for 2ea7e53
test/src/com/rabbitmq/client/test/functional/DefaultExchange.java
@@ -35,7 +35,12 @@ public void testBindToDefaultExchange() throws IOException {
35
}
36
37
public void testDeclareDefaultExchange() throws IOException {
38
- channel.exchangeDeclare("", "direct", true);
+ try {
39
+ channel.exchangeDeclare("", "direct", true);
40
+ fail();
41
+ } catch (IOException ioe) {
42
+ checkShutdownSignal(AMQP.ACCESS_REFUSED, ioe);
43
+ }
44
45
46
public void testDeleteDefaultExchange() throws IOException {
0 commit comments