mirror of https://github.com/apache/activemq.git
Improve test for AMQ-4717: verify that propertyExists also works.
This commit is contained in:
parent
9c75fe7b61
commit
fd67eefad6
|
@ -107,6 +107,7 @@ public class SimpleSecurityBrokerSystemTest extends SecurityTestSupport {
|
|||
// And also via JMS.
|
||||
MessageConsumer consumer = session.createConsumer(destination);
|
||||
Message m = consumer.receive(1000);
|
||||
assertTrue(m.propertyExists("JMSXUserID"));
|
||||
assertEquals("system", m.getStringProperty("JMSXUserID"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue