Dagan Sandler
01/01/2018, 8:28 AMfun Customer.getMostExpensiveOrderedProduct(): Product? = orderedProducts.maxBy { it.price }
but it's failing and I'm not sure why. The test error is Expected: null
Actual: null
, so that's not really helpful to find out the problem