@Test
public void shouldAddNewMessageToStorage() throws JMSException {

	TextMessage message = new MockTextMessage("my awesome message");
	sut.onMessage(message);
	Collection<SimpleMessage> resultInStorage = storage.getMessagesAfter(0);
	assertThat(resultInStorage).hasSize(1);
	SimpleMessage first = resultInStorage.iterator().next();
	assertThat(first.getText()).isEqualTo("my awesome message");
	assertThat(first.getProps()).isEmpty();
}