@Test(expected = IllegalArgumentException.class)
public void shouldThrowExceptionOnNumberPayloadType() {

    jsonObjectEnvelopeConverter.fromEnvelope(
            envelopeFrom(metadataBuilder().withId(randomUUID()).withName("name"),
                    createObjectBuilder().add(FIELD_NUMBER, 100).build().getJsonNumber(FIELD_NUMBER)));
}