347348349350351352353354355356357358
public void testFailedShortLookup() { try { JMSMapMessage mm = TestMessageHelper.newJMSMapMessage(); mm.getShort("random"); Assert.fail("NumberFormatException should be received."); } catch (NumberFormatException e) { //normal execution