GH-1131 - Polishing.

This commit is contained in:
Oliver Drotbohm
2025-04-04 16:30:03 +02:00
parent 4fa434fcf2
commit 2fcde209b3

View File

@@ -153,8 +153,8 @@ public class Scenario {
* @param <S> the type of the value returned by the stimulus.
* @param supplier must not be {@literal null}.
* @return will never be {@literal null}.
* @see StateChangeResult#andVerify(Consumer)
* @see EventResult#toArriveAndVerify(Consumer)
* @see org.springframework.modulith.test.Scenario.When.StateChangeResult#andVerify(Consumer)
* @see org.springframework.modulith.test.Scenario.When.EventResult#toArriveAndVerify(Consumer)
*/
public <S> When<S> stimulate(Supplier<S> supplier) {
return stimulate(tx -> tx.execute(__ -> supplier.get()));