How to setup different lambda-hooks with Java-JUnit?

How to setup different lambda-hooks with Java-JUnit?