    @Test
    public void testItemExists() throws JMSException {

        JmsMapMessage mapMessage = factory.createMapMessage();

        mapMessage.setString("exists", "test");

        mapMessage = (JmsMapMessage) mapMessage.copy();

        assertTrue(mapMessage.itemExists("exists"));
        assertFalse(mapMessage.itemExists("doesntExist"));
    }