@Test
public void a_valid_text_message_gets_processed() throws JMSException, IOException {

    GuestDataUpdateReceiver receiver = new GuestDataUpdateReceiver(guestModelRepository);
    final String messagePayload = readValidGuestXml();
    new Expectations() {{
        textMessage.getBody(String.class);
        result = messagePayload;
    }};
    receiver.onMessage(textMessage);
}