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

    //GIVEN
    given(objectMessage.getObject()).willThrow(new JMSException("Can't cast to WilmaHttpEntity!"));
    //WHEN
    underTest.onMessage(objectMessage);
    //THEN exception is thrown
}