177. Testing high-order functions

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.46.78