public void shouldHandleRoomSubjectChangeEvents() {
final RoomSubjectChangedTestHandler handler = new RoomSubjectChangedTestHandler();
room.addRoomSubjectChangedHandler(handler);
final Message subject = new Message(null, roomUri, occupantUri);
subject.setSubject("The subject");
eventBus.fireEventFromSource(new MessageReceivedEvent(subject), room);
assertEquals(1, handler.getCalledTimes());
assertEquals("The subject", handler.getLastEvent().getSubject());
}