A high-order function is a term that's used to characterize a function that returns a function or takes a function as a parameter.
Based on this statement, testing a high-order function in the context of lambdas should cover two main cases:
- Testing a method that takes a lambda as a parameter
- Testing a method that returns a functional interface
We'll learn about these two tests in the upcoming sections.