}
@Test
public void testSortOptions() {
for (SortExpression.SortDirection direction : SortExpression.SortDirection.values()) {
SortExpression sortExpression = SortExpression.newBuilder()
.setExpression("numfield")
.setDirection(direction)
.setDefaultValueNumeric(9999)
.build();
SortOptions sortOptions = SortOptions.newBuilder()