@SuppressWarnings("unchecked")
@Test
public void shouldConvertJsonValueEnvelopeToJsonEnvelope() throws JsonProcessingException {

    final Envelope<JsonValue> envelope = mock(Envelope.class);
    final JsonEnvelopeRepacker jsonEnvelopeRepacker = new JsonEnvelopeRepacker();
    final JsonEnvelope jsonEnvelope = jsonEnvelopeRepacker.repack(envelope);
    assertThat(jsonEnvelope, isA(JsonEnvelope.class));
}