static Supplier supplier(
            QueryPath[] paths,
            QueryDataType[] types,
            UpsertTargetDescriptor descriptor,
            List<Expression<?>> projection
    ) {
        return new Supplier(paths, types, descriptor, projection);
    }
@Test
    public void test_supplierSerialization() {
        InternalSerializationService serializationService = new DefaultSerializationServiceBuilder().build();

        Projector.Supplier original = Projector.supplier(
                new QueryPath[]{QueryPath.create("this.field")},
                new QueryDataType[]{QueryDataType.INT},
                PrimitiveUpsertTargetDescriptor.INSTANCE,
                singletonList(ColumnExpression.create(0, QueryDataType.INT))
        );

        Projector.Supplier serialized = serializationService.toObject(serializationService.toData(original));

        assertThat(serialized).isEqualToComparingFieldByField(original);
    }