@Test
public void shouldConvertPojoToPojo() throws IOException {

    final TestObject testObject = new TestObject("testString");
    final Envelope<TestObject> inputEnvelope = getEnvelope(testObject);
    final Envelope<DifferentTestObject> differentTestObjectEnvelope = convert(inputEnvelope, DifferentTestObject.class);
    assertThat(differentTestObjectEnvelope.payload(), isA(DifferentTestObject.class));
}