QPID-2980: add additional check to test


git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@1051048 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/qpid/java/client/src/test/java/org/apache/qpid/client/message/AbstractJMSMessageTest.java b/qpid/java/client/src/test/java/org/apache/qpid/client/message/AbstractJMSMessageTest.java
index 2cbbc3b..83b4370 100644
--- a/qpid/java/client/src/test/java/org/apache/qpid/client/message/AbstractJMSMessageTest.java
+++ b/qpid/java/client/src/test/java/org/apache/qpid/client/message/AbstractJMSMessageTest.java
@@ -61,15 +61,16 @@
             //expected, ignore.
         }
 
-        //set the value, verify retrieval
+        //set the value, verify retrieval and existence
         abstractMessage.setJMSXDeliveryCount(5);
         assertEquals("Value was incorrect", 5, abstractMessage.getIntProperty("JMSXDeliveryCount"));
+        assertTrue("property should exist", abstractMessage.propertyExists("JMSXDeliveryCount"));
 
         //remove the property
         abstractMessage.setJMSXDeliveryCount(null);
 
         //verify property is cleared
-        assertFalse("property should not yet exist", abstractMessage.propertyExists("JMSXDeliveryCount"));
+        assertFalse("property should not exist", abstractMessage.propertyExists("JMSXDeliveryCount"));
 
         //check that retrieving the property now throws the expected NFE
         try