I just noticed that Stefan Birkner released a new library called System Lambda that works with JUnit 5. It has similar capabilities as his earlier library System Rules, which only works with JUnit 4.
This ticket is to update the user manual Testing Your Application section with new examples for the System Lamdba library.