@Test
public void inboxEventFactoryCreatesInboxAddedEventCorrectly() {

    InboxAddedEvent event = InboxEventFactory.createAddedEvent(DISCOVERY_RESULT);
    assertThat(event.getType(), is(INBOX_ADDED_EVENT_TYPE));
    assertThat(event.getTopic(), is(INBOX_ADDED_EVENT_TOPIC));
    assertThat(event.getPayload(), is(INBOX_ADDED_EVENT_PAYLOAD));
    assertThat(event.getDiscoveryResult(), not(nullValue()));
    assertThat(event.getDiscoveryResult().thingUID, is(THING_UID.getAsString()));
}