@Test(expectedExceptions = JMSException.class)
public void testCreateMessageShouldThrowJmsExceptionWhenCanNotCreateObjectMessageFromSession() throws JMSException {

    // GIVEN
    given(session.createObjectMessage()).willThrow(new JMSException(NO_WILMA_LOGGER_ID));
    // WHEN
    underTest.createMessage(session);
    // THEN exception is thrown
}