I've fixed this. It shouldn't even be doing the removeAllMessages() in this case,
it should be throwing an exception to the application.
The user will now get an javax.jms.IllegalStateException
if they unsubscribe() a Durable TopicSubscription while it is still active.
Tim, you probably want to port this test to JBoss Messaging
if you don't have something similar already.