Streams as Test Parameters

You can use methods returning Java streams as a source of parameters in JUnit5 tests. Use @MethodSource as shown below.