I saw this:
and the related issue:
But I don't think it addresses the question I have...
I am creating a query:
create.select(
concat(val("/v3/customer/"), CUSTOMER.CODE, val("/vdc")).as("vdc"))
.where(CUSTOMER.CODE.eq(code));
When I create a MockDataProvider, I can use CUSTOMER.CODE and
CUSTOMER.NAME as field identifiers, but how do I identify the calculated field in the MockDataProvider?
E.g.:
Result<CustomerRecord> result = create.newResult(CUSTOMER);
result.add(create.newRecord(CUSTOMER));
result.get(0).setValue(CUSTOMER.CODE, "29793408");
result.get(0).setValue(*****What can I put here?!?!*****, "/v3/customer/29793408/vdc");
Any help would be greatly appreciated!!
Deven