Copied! This is actually the identical example I Employed in an previously section to take a look at operate composition. It essentially permits substituting print() using a custom purpose of exactly the same interface. To examine if it prints the correct information, you have to intercept it by injecting a mocked purpose: You’re now armed by