});
BigInteger expectation = BigInteger.ZERO;
for (int i = 0; i < values.length; i++) {
Value<BigInteger> value = values[i];
expectation = i == 0 ? value.value : expectation.max(value.value);
}
Aggregation<String, BigInteger, BigInteger> aggregation = Aggregations.bigIntegerMax();
BigInteger result = testMaxWithExtractor(values, aggregation);
assertEquals(expectation, result);