@Nonnull
    public static <T extends GeneratedMessageV3> ProtobufSerializer<T> from(@Nonnull Class<T> clazz, int typeId) {
        return new ProtobufSerializer<>(clazz, typeId) {
        };
    }
@Test
    public void when_serializes_then_isAbleToDeserialize() {
        // Given
        Person original = Person.newBuilder().setName("Joe").setAge(18).build();
        StreamSerializer<Person> serializer = ProtobufSerializer.from(Person.class, 1);

        // When
        Person transformed = deserialize(serializer, serialize(serializer, original));

        // Then
        assertThat(transformed).isEqualTo(original);
    }