diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java index af370c878f..09d96b7ce5 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/security/SimpleSecurityBrokerSystemTest.java @@ -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")); }