@Test(expected = IllegalArgumentException.class)
public void shouldThrowExceptionOnMissingName() throws Exception {

    final JsonObject joEnvelope = new StringToJsonObjectConverter().convert(jsonFromFile("json/envelope-missing-name"));
    metadataBuilderFrom(joEnvelope.getJsonObject(METADATA));
}