Skip to content

Commit fd1544f

Browse files
author
Simon MacMullen
committed
Merge bug 22101 into default again
2 parents a6ebf0c + e4d42de commit fd1544f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/src/com/rabbitmq/client/test/functional/DefaultExchange.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ public void testBindToDefaultExchange() throws IOException {
3030
}
3131
}
3232

33+
public void testUnbindFromDefaultExchange() throws IOException {
34+
try {
35+
channel.queueUnbind(queueName, "", queueName);
36+
fail();
37+
} catch (IOException ioe) {
38+
checkShutdownSignal(AMQP.ACCESS_REFUSED, ioe);
39+
}
40+
}
41+
3342
public void testDeclareDefaultExchange() throws IOException {
3443
try {
3544
channel.exchangeDeclare("", "direct", true);

0 commit comments

Comments
 (0)