@Test(expected = MissingHandlerException.class)
public void shouldThrowExceptionIfNoHandlerExists() throws Exception {

    final String payloadId = "3f47ab7e-aecc-4cec-9246-c32066ef5ba1";
    final String payloadName = "payload name";
    final long payloadVersion = 200L;
    final JsonValue payload = withPayloadOfTestPojo(payloadId, payloadName, payloadVersion);
    final JsonEnvelope envelope = envelopeFrom(metadata, payload);
    dispatcher.dispatch(envelope);
}