en.nextElement();
Message m = (Message)en.nextElement();
	public void testBrowse() throws Exception	{				log.trace("Starting testBrowse()");										final int numMessages = 10;				for (int i = 0; i < numMessages; i++)		{			Message m = session.createMessage();			producer.send(m);		}				log.trace("Sent messages");		QueueBrowser browser = session.createBrowser(queue);				assertEquals(browser.getQueue(), queue);				assertNull(browser.getMessageSelector());				Enumeration en = browser.getEnumeration();				int count = 0;		while (en.hasMoreElements())		{			en.nextElement();			count++;		}				assertEquals(numMessages, count);				MessageConsumer mc = session.createConsumer(queue);				connection.start();				for (int i = 0; i < numMessages; i++)		{			mc.receive();		}				browser = session.createBrowser(queue);		en = browser.getEnumeration();						count = 0;		while (en.hasMoreElements())		{			Message mess = (Message)en.nextElement();			log.trace("message:" + mess);			count++;		}				log.trace("Received " + count + " messages");            assertEquals(0, count);	}